Skip to content

Conversation

@bentsherman
Copy link
Member

Close #6422

This PR fixes a bug with splitCsv when using the skip option. The loop that skips lines was exiting early because an empty line was treated the same as reaching the end-of-stream. Instead the loop should exit early only if the end-of-stream is reached.

@bentsherman bentsherman requested a review from jorgee November 19, 2025 18:27
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 79f6f1c
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/691e0bf82b846d0008b1b4c9

@bentsherman bentsherman merged commit 253666d into master Nov 19, 2025
28 of 29 checks passed
@bentsherman bentsherman deleted the fix-csv-splitter-skip-empty-lines branch November 19, 2025 19:29
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.

splitCsv with skip parameter does not work as expected when file contains a blank line

3 participants