Skip to content

Fail if splitFastq receives incomplete record#6268

Merged
bentsherman merged 1 commit intomasterfrom
improve-split-fastq-incomplete-error
Jul 11, 2025
Merged

Fail if splitFastq receives incomplete record#6268
bentsherman merged 1 commit intomasterfrom
improve-split-fastq-incomplete-error

Conversation

@bentsherman
Copy link
Member

This PR improves the error handling of splitFastq. When reading a FASTQ record, if only some lines are present, that is an incomplete record and should raise an error. When all lines are missing, there are no more records and we can safely exit.

Related to #3216

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from jorgee July 10, 2025 18:41
@netlify
Copy link

netlify bot commented Jul 10, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 0c0e52f
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68700946de11900008b06a94

@bentsherman bentsherman merged commit 0869a34 into master Jul 11, 2025
22 checks passed
@bentsherman bentsherman deleted the improve-split-fastq-incomplete-error branch July 11, 2025 14:16
@pditommaso
Copy link
Member

A test would be useful to track the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants