Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Jan 14, 2025
1 parent 5242458 commit 322a395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipes/WDL/tasks/tasks_ncbi.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,8 @@ task biosample_to_genbank {
if special.startswith('Influenza'):
print("special organism is Influenza A/B/C")
# simplify isolate name
header_key_map['isolate'] = 'strain'
if 'strain' in row.keys():
header_key_map['isolate'] = 'strain'
for row in biosample_attributes:
# populate serotype from name parsing
match = re.search(r'\(([^()]+)\)+$', row['sample_name'])
Expand Down

0 comments on commit 322a395

Please sign in to comment.