Skip to content

Commit

Permalink
Update ont_stats.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Nov 8, 2023
1 parent dc6dbb2 commit c861aa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ont_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def write_to_csv(sample_dict):
for sample in sample_list:
destination = project_directory + "/" + sample
file = glob.glob(destination + "/*/sequencing_summary_*")
sample_dict[sample] = get_read_length_and_summary(file[0])
if len(file) != 0:
sample_dict[sample] = get_read_length_and_summary(file[0])

write_to_csv(sample_dict)

0 comments on commit c861aa6

Please sign in to comment.