Skip to content

Commit

Permalink
mock: fix bug making Fastqs in MockAnalysisProject, when lane not spe…
Browse files Browse the repository at this point in the history
…cified.
  • Loading branch information
pjbriggs committed Nov 25, 2023
1 parent d78b7bf commit cc784b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auto_process_ngs/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ def create(self,top_dir=None,readme=True,scriptcode=True,
if populate_fastqs:
read_number = AnalysisFastq(fq).read_number
lane = AnalysisFastq(fq).lane_number
if lane is None:
lane = 1
read = """@ILLUMINA-545855:49:FC61RLR:%s:1:10979:1695 %s:N:0:TCCTGA
GCATACTCAGCTTTAGTAATAAGTGTGATTCTGGTA
+
Expand Down

0 comments on commit cc784b2

Please sign in to comment.