-
Notifications
You must be signed in to change notification settings - Fork 193
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
NfcoreSchema.validateParameters JSONObject error #937
Comments
@Leon-Bichmann to solve this issue, you have to change line 222 in
Basically replacing |
This fix makes the groovy code handle the problem, but it would be nice to also know why it's a problem in the first place. With this GitHub Actions test I thought I tracked it down to the fact that the schema has I was fairly satisfied that this was the root cause and that the mismatch should have been caught by the However, in these PRs above the |
Yes I couldn't find any The problem happens in the code when checking for So I think the code couldn't handle this before - might not be a failure on the pipeline side. Maybe I'll try with a fresh template and adding to the schema to confirm this |
Okay confirmed, this is the part that breaks the code:
Adding this to a fresh template breaks it (at the end of the |
The difference might just be that this internally is a |
ok so then the easiest quick fix @Leon-Bichmann is to run But yeah, we should fix this 👍🏻 Are you on a PR @KevinMenden? |
😄 |
Ok awesome thanks for checking and fixing this ! |
Similar error occurs if "fasta" |
Error occurs because
to:
|
Description of the bug
Updating the pipelines MHCquant and DIAproteomics to the template 1.13.1 resulted in an error calling the function:
NfcoreSchema.validateParameters(params, json_schema, log)
Steps to reproduce
The error occured both here:
nf-core/diaproteomics#103
and here:
nf-core/mhcquant#160
The text was updated successfully, but these errors were encountered: