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

improvement for error/warning message for wrong delimiter #88

Open
anoronh4 opened this issue Jan 16, 2025 · 0 comments
Open

improvement for error/warning message for wrong delimiter #88

anoronh4 opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@anoronh4
Copy link

i had the following error:

nextflow.validation.SchemaValidationException: The following errors have been detected in /home/noronhaa/pytest_workflow_wrrzqigf/run_test_fillouts/tests/test_fillout/data/input.tsv:

-> Entry 1: Missing required field(s): maf, sample

which seemed weird to me because my input sheet was the following:

sample,maf
SAMPLE_PAIRED_END,tests/test_fillout/data/dna.maf

turns out it's because it was because it was a comma-delimited file, but nf-schema is expecting tab delimiters due to the file extension. it might be helpful to users if the error were more informative about the delimiters. in this case the error might have also said something like "no tabs found, expecting tabs, extension is .tsv".

@nvnieuwk nvnieuwk added the bug Something isn't working label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants