Repository navigation
Expose the functionality to suppress the creation of non-executable CWL and snakemake files. - #104
Conversation
…WL and snakemake files.
…generated. Also, check during ZIP creation whether the files do exist and ignore them, if not.
| // Write solutions (as CWL and Snakemake files and figures) to the file system. | ||
| APE.writeCWLWorkflows(candidateSolutions, true); | ||
| APE.writeSnakemakeWorkflows(candidateSolutions, true); | ||
| APE.writeCWLWorkflows(candidateSolutions, createPartialScripts); |
There was a problem hiding this comment.
Totally unrelated, but I just looked up the original implementation and made an issue as this might be redundant to define as such. Workflomics/ape#158
There was a problem hiding this comment.
Set myself as assignee, can refactor this.
|
|
||
| runConfig.setSolutionPath(solutionPath); | ||
| int maxSol = runConfig.getMaxNoSolutions(); | ||
| runConfig.setNoCWL(maxSol); |
There was a problem hiding this comment.
It would be even better if Workflomics would provide these in the configJson, but not crucial atm
There was a problem hiding this comment.
You mean that APERunConfig sets the count of CWL/SMK/Graphs based on what is written in the configJson or that configJson contains an attribute for count of CWL/SMK/Graphs?
There was a problem hiding this comment.
Aah, I get it, @vedran-kasalica. You mean that workflomics-frontend sets the existing fields number_of_generated_graphs and number_of_cwl_files in configJson and RestAPE just collects the info from there. I will open an issue.
vedran-kasalica
left a comment
There was a problem hiding this comment.
Changes look good, I left a few comments, but it can be merged as it is.
Thanks for your review, will merge for now and work on the new issues as soon as I have some time. |
Pull Request Overview
This PR uses the functionality from the APE backend to exclude "partial" scripts creation. If provided by the frontend,
the option
create_partial_scriptsis used by RestAPE and generation of CWL and Snakemake files for which the tool annotations are lacking the instructions/code to execute is skipped, ifcreate_partial_scriptsis set to false.Related Issue
None.
Changes Introduced
How Has This Been Tested?
Checklist