-
Notifications
You must be signed in to change notification settings - Fork 192
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
Validation of parameters #817
Conversation
Code review ongoing on the cageseq PR: nf-core/cageseq#38 |
putting back to draft for now |
Would be nice to get some comments on this so we can get this over and done with soon :-) So far I have created an extra |
That seems indeed reasonable to me 👍🏻 |
Had a look at this and if you could push this over to Schema.groovy, I think this already looks quite fine. Happy to test this as well, as I'm having another pipeline open where I implemented the lib/ stuff now following the rnaseq example 👍🏻 (its still DSLv1, but hey it works!) nf-core/eager#680 |
Thanks @apeltzer ! I'll switch it over to Schema sometime today. Would be amazing if you could test it a bit :) |
Did the refactoring now and resolved the merge conflicts - should be good for some testing! Will also do some testing with this in the coming days. |
Okay I had to fix some bugs in the template. Took me longer than I'd like to admit to realize that I tried to import a I tested it with |
Hi @KevinMenden ! Nice catching these typical beginner mistakes:
But it doesn't warn me about the Wondering whether at least the non-detection of the |
Alright so could you run this again, and then just |
Seems not to work that way:
only hit CTRL + C once, so not force killing it... this is on a mac with docker ? |
No kill it for good!
|
I forgot a piece of code in main ;-) |
|
Ah - yes the one at the end I assume. Should've thought of that! |
Closing in favour of #852 |
PR checklist
CHANGELOG.md
is updatedThis PR adds the
Validation
class to thelib/
to validate parameters against the JSON schema.--profile
)Have tested with
cageseq
andrnaseq
so far, but should test a bit more. Ideas for more fancy checks are welcome :-)Will also add some tests for this function to tools.