Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug when creating Fastqs in mock analysis projects without specifying lanes #914

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

pjbriggs
Copy link
Member

Fixes a bug in the MockAnalysisProject.create method (in the mock module) when making Fastqs without explicitly specifying a lane in the names (e.g. because merging across lanes is being simulated).

Without the fix the Fastq read headers have the lane set to None (creating an invalid read header and potentially breaking code which tries to extract information from it). The fix is to have the lane number default to 1 if not otherwise specified.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…cified.
@pjbriggs pjbriggs force-pushed the mock-fix-setting-lane-in-Fastq-headers branch from cc784b2 to 41e4405 Compare November 25, 2023 12:13
@pjbriggs pjbriggs merged commit 2f015c4 into devel Nov 25, 2023
@pjbriggs pjbriggs deleted the mock-fix-setting-lane-in-Fastq-headers branch November 25, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant