File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424/* this block is auto-generated based on info from pkg.json where */
2525/* changes can be made if needed, do NOT modify this block manually */
2626nextflow. enable. dsl = 2
27- version = ' 0.1.0 ' // package version
27+ version = ' 0.1.1 '
2828
2929container = [
3030 ' ghcr.io' : ' ghcr.io/icgc-argo/data-processing-utility-tools.payload-add-uniform-ids'
Original file line number Diff line number Diff line change @@ -36,17 +36,17 @@ def get_id_mapping(id_mapping_tsv):
3636 submitter_id = row ['submitter_id' ]
3737 uniform_id = row ['uniform_id' ]
3838 if type in id_mapping :
39- sys .exit (f"Values in 'type' field duplicated. Offending value: { type } , in file: { args . id_mapping_tsv } " )
39+ sys .exit (f"Values in 'type' field duplicated. Offending value: { type } , in file: { id_mapping_tsv } " )
4040 else :
4141 id_mapping [type ] = dict ()
4242
4343 if submitter_id in id_mapping [type ]:
44- sys .exit (f"Values in 'submitter_id' field duplicated. Offending value: { submitter_id } , for type: { type } , in file: { args . id_mapping_tsv } " )
44+ sys .exit (f"Values in 'submitter_id' field duplicated. Offending value: { submitter_id } , for type: { type } , in file: { id_mapping_tsv } " )
4545 else :
4646 id_mapping [type ][submitter_id ] = uniform_id
4747
4848 if 'donor' not in id_mapping or 'specimen' not in id_mapping or 'sample' not in id_mapping :
49- sys .exit (f"Provided id_mapping_tsv file '{ args . id_mapping_tsv } ' is required to have ID mappings for 'donor', 'specimen' and 'sample'" )
49+ sys .exit (f"Provided id_mapping_tsv file '{ id_mapping_tsv } ' is required to have ID mappings for 'donor', 'specimen' and 'sample'" )
5050
5151 return id_mapping
5252
Original file line number Diff line number Diff line change 11{
22 "name" : " payload-add-uniform-ids" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " SONG payload utility tool for adding uniform IDs" ,
55 "main" : " main.nf" ,
66 "deprecated" : false ,
You can’t perform that action at this time.
0 commit comments