Skip to content

Commit

Permalink
Handle in progress analysis entries. (#610)
Browse files Browse the repository at this point in the history
* Switch _ + -
* Revert sorting
  • Loading branch information
vivbak authored Nov 15, 2023
1 parent d96115a commit c05b11e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/create_test_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
SequencingGroupUpsert,
)


logger = logging.getLogger(__file__)
logging.basicConfig(format='%(levelname)s (%(name)s %(lineno)s): %(message)s')
logger.setLevel(logging.INFO)
Expand Down Expand Up @@ -385,7 +384,7 @@ def transfer_analyses(
project,
(str(sg['id']), new_sg_map[s['externalId']][0]),
),
status=AnalysisStatus(analysis['status'].lower()),
status=AnalysisStatus(analysis['status'].lower().replace('_', '-')),
sequencing_group_ids=new_sg_map[s['externalId']],
meta=analysis['meta'],
)
Expand All @@ -401,7 +400,7 @@ def transfer_analyses(
project,
(str(sg['id']), new_sg_map[s['externalId']][0]),
),
status=AnalysisStatus(analysis['status'].lower()),
status=AnalysisStatus(analysis['status'].lower().replace('_', '-')),
sequencing_group_ids=new_sg_map[s['externalId']],
meta=analysis['meta'],
)
Expand Down

0 comments on commit c05b11e

Please sign in to comment.