Skip to content

Commit

Permalink
Include alternate sample ID column header udn-aus parser
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieLF committed Jul 6, 2023
1 parent 3e9a8cb commit da7d673
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/parse_redcap__udn-aus.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def parse_redcap(redcap_csv: str):
row_type = 'sample_metadata'
if row['sample_id']:
samples[row['sample_id']] = individual_id
# elif row['sendaway_tracking_num']:
# Some sample IDs end up in this column
# samples[row['sendaway_tracking_num']] = individual_id
elif row['sendaway_tracking_num']:
# Some sample IDs end up in this column
samples[row['sendaway_tracking_num']] = individual_id
else:
assert False, f'I was not expecting this row: {row}'
else:
Expand Down

0 comments on commit da7d673

Please sign in to comment.