Skip to content

Commit 5932bd7

Browse files
committed
fix: close sample sheet endedness bug
1 parent eaa0b8f commit 5932bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/samplesheet.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ def process_v1_reads_section(self, section):
8080
r2 = int(this_line_name)
8181
else:
8282
self.process_simple_section([line])
83-
if r1:
83+
if r1 and r1 > 0:
8484
setattr(self, 'Read01', r1)
85-
if r2:
85+
if r2 and r2 > 0:
8686
setattr(self, 'Read02', r2)
8787
return
8888

0 commit comments

Comments
 (0)