-
Notifications
You must be signed in to change notification settings - Fork 441
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
Add ToolDistillator #5967
Add ToolDistillator #5967
Conversation
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.
Thanks a lot @clsiguret
I added some suggestions (mostly cosmetic ones)
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Waiting for new Bioconda package : bioconda/bioconda-recipes#47472 |
…th "" around input_files/
…d not used by test
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.
Very good @clsiguret! I added a few nitpicking stuff inline.
I'm a bit worried about the HID usage ... maybe you can explain in some comment why you need to use the HID somewhere.
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.
this is empty, is it needed or should it be removed?
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.
this can be removed I guess?
Can you please check if all files are really needed that are included in this PR?
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.
Thanks. I deleted empty and/or unused files. it should be good now
<tests> | ||
<test expect_num_outputs="1"> <!-- TEST_1 sumarize json results --> | ||
<param name="summarize_data" ftype="json" value="summarize/abricate_output.json,summarize/bracken_full_output.json,summarize/plasmidfinder_output.json"/> | ||
<output name="summary_json" ftype="json" value="summarize/summarize.json" compare="sim_size"/> |
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.
instead of using sim_size, which is the less-stringent test that we have, its better to use asserts (in addition) https://docs.galaxyproject.org/en/latest/dev/schema.html#id146
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.
yes, I understand why. It's good now, I added asserts as suggested :-) thanks
#for $i, $tool in enumerate( $tool_section.tools ) | ||
tooldistillator | ||
$tool.select_tool.tool_list | ||
--hid "$tool.select_tool.input.hid" |
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.
please use single-quotes its safer than double-quotes
#elif $tool.select_tool.tool_list == "tabular_file" | ||
--analysis_software_name "$tool.select_tool.analysis_software_name" | ||
#end if | ||
-o "tooldistillator_folder/$($tool.select_tool.tool_list)_$(i)_output.json" |
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.
single-quotes
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.
It looks good for me. Thanks @clsiguret !!
Thanks a lot @clsiguret |
FOR CONTRIBUTOR: