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

nf-validation fails on validateParameters when schema_input.json is not standard #19

Open
maxulysse opened this issue Sep 21, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@maxulysse
Copy link

error:

ERROR ~ Unexpected error [NullPointerException]

 -- Check script 'main.nf' at line: 33 or see '.nextflow.log' file for more details

pointing to:

// Validate input parameters
if (params.validate_params) {
   validateParameters()
}

I got rid of it by removing the input validation in the nextflow_schema.json

cf https://nfcore.slack.com/archives/C056RQB10LU/p1695298538145319

@maxulysse
Copy link
Author

might be linked to nextflow-io#98

@nvnieuwk
Copy link
Collaborator

@maxulysse you still have this error with the new version? Please also keep in mind the samplesheets with no header have changed a bit now and should have a schema like this now:

{
   ...,
   "type": "array",
   "items": {
       "type": "string"
   }
}

@nvnieuwk nvnieuwk transferred this issue from nextflow-io/nf-validation Apr 23, 2024
@nvnieuwk
Copy link
Collaborator

Do you still have this error in nf-schema? @maxulysse ?

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