File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 32
32
SequencingGroupUpsert ,
33
33
)
34
34
35
-
36
35
logger = logging .getLogger (__file__ )
37
36
logging .basicConfig (format = '%(levelname)s (%(name)s %(lineno)s): %(message)s' )
38
37
logger .setLevel (logging .INFO )
@@ -385,7 +384,7 @@ def transfer_analyses(
385
384
project ,
386
385
(str (sg ['id' ]), new_sg_map [s ['externalId' ]][0 ]),
387
386
),
388
- status = AnalysisStatus (analysis ['status' ].lower ()),
387
+ status = AnalysisStatus (analysis ['status' ].lower (). replace ( '_' , '-' ) ),
389
388
sequencing_group_ids = new_sg_map [s ['externalId' ]],
390
389
meta = analysis ['meta' ],
391
390
)
@@ -401,7 +400,7 @@ def transfer_analyses(
401
400
project ,
402
401
(str (sg ['id' ]), new_sg_map [s ['externalId' ]][0 ]),
403
402
),
404
- status = AnalysisStatus (analysis ['status' ].lower ()),
403
+ status = AnalysisStatus (analysis ['status' ].lower (). replace ( '_' , '-' ) ),
405
404
sequencing_group_ids = new_sg_map [s ['externalId' ]],
406
405
meta = analysis ['meta' ],
407
406
)
You can’t perform that action at this time.
0 commit comments