Skip to content

Commit

Permalink
fix: close sample sheet endedness bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rroutsong committed Feb 6, 2024
1 parent eaa0b8f commit 5932bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/samplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def process_v1_reads_section(self, section):
r2 = int(this_line_name)
else:
self.process_simple_section([line])
if r1:
if r1 and r1 > 0:
setattr(self, 'Read01', r1)
if r2:
if r2 and r2 > 0:
setattr(self, 'Read02', r2)
return

Expand Down

0 comments on commit 5932bd7

Please sign in to comment.