Skip to content

Commit

Permalink
add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Jul 2, 2024
1 parent d2eacdc commit ba2e31b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anglerfish/anglerfish.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ def run_demux(args):

subset_rows = ss.subset_rows(adaptor_name=adaptor_name, ont_barcode=ont_barcode)

# Grab the fastq path of the first sample
# Grab the fastq files for the current entries
assert all([subset_rows[0].fastq] == [row.fastq for row in subset_rows])
fastq_path = subset_rows[0].fastq
fastq_files = glob.glob(fastq_path)

Expand Down

0 comments on commit ba2e31b

Please sign in to comment.