Skip to content

Commit

Permalink
fstring mod
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Apr 17, 2024
1 parent 7eb6a6c commit cb23a4d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hedgehog/scripts/hedge_lineage_set.smk
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ rule add_failed_seqs:
note = "Assigned from designation hash."
for row in reader:
this_set_info = set_info[row["set_hash"]]
fw.write(f"{row['taxon']},{row["set_hash"][:6]},{row["set_hash"]},{this_set_info['precision']},{this_set_info['set_description']},{this_set_info['lineage_count']},{this_set_info['spike_constellation']},NA,NA,,{config['hedgehog_version']},{config['pango_version']},passed_qc,{note}\n")


fw.write(f"{row['taxon']},{row['set_hash'][:6]},{row['set_hash']},{this_set_info['precision']},{this_set_info['set_description']},{this_set_info['lineage_count']},{this_set_info['spike_constellation']},NA,NA,,{config['hedgehog_version']},{config['pango_version']},passed_qc,{note}\n")

with open(input.qcpass, "r") as f:
reader = csv.DictReader(f)

Expand Down

0 comments on commit cb23a4d

Please sign in to comment.