-
Notifications
You must be signed in to change notification settings - Fork 644
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
Iqtree version bump and output fix #5618
Conversation
looking good, but I feel you added some optional files, is there any possibility to test for it too? |
Yes, the module was basically missing all optional output files, likely because there is no centralized documentation of the possible output files. I'll have a look at the tests again and try to include as many of the optional files as possible. |
You could also add a stub test while you are doing that :) |
Will make sure to add stub tests for any additional tests I implement. 👍 |
- remove basic test (all outputs covered elsewhere) - skip model and tree search wherever possible - use same data for all tests
- skip model and tree search wherever possible - use smallest alignment when no tree is needed
4df2ef8
to
c3ae781
Compare
This module has now been majorly reworked due to missing inputs and outputs and addition of new tests. I would be grateful for some more feedback. Major changes:
There are a couple of things I am struggling with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really knowing anything about the tool, this is a really nice effort. There's a smattering of comments to address.
- remove obsolete config file - remove non-required inputs from basic test (move to separate test) - rename meta inputs
You really don't have to test every possible input/output of the tool, so don't worry about missing a few files. |
This commit removes the meta information from most inputs. A meta only has to be provided with either alignment (meta) or tree file (meta2). When meta is not supplied in the inputs, it gets assigned the value of meta2.
I don't think they're mutually exclusive for the most part. Different combinations of input files will result in different modes being run though. |
- change primary input to tuple of three values (meta, alignment, tree)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another thing one could add to the tests is that certain channels should be empty.
Otherwise this is great work. Thank you.
Thanks for the suggestion and the thorough review in general, @mahesh-panchal ! I added some tests to confirm that certain optional output channels are empty. If there's nothing else missing, I'll go ahead and get this PR merged. |
Sounds good. Great work. |
PR checklist
Closes #5607
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda