Skip to content

Commit

Permalink
new fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralVerity committed Jun 28, 2024
1 parent 86c810c commit 677d04d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions denv_pipeline/scripts/make_summary_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,13 @@ def pull_low_coverage_seqs(config, all_coverage, high_coverage):
lst.append(cov)

in_order = sorted(lst, reverse=True)
if in_order[0] > (in_order[1] + 5):
top = [i for i in cov_dict if cov_dict[i]==in_order[0]][0]
if len(in_order) > 1:
if in_order[0] > (in_order[1] + 5):
top = [i for i in cov_dict if cov_dict[i]==in_order[0]][0]
else:
top = "NA"
elif len(in_order) == 1:
top = in_order[0]
else:
top = "NA"

Expand Down

0 comments on commit 677d04d

Please sign in to comment.