-
Notifications
You must be signed in to change notification settings - Fork 10
Add support for skipping partial shell script creation. #149
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
base: main
Are you sure you want to change the base?
Conversation
…se` by default) and only create partial scripts with missing tool information as comment if set to `true`. Otherwise, log output file and missing tools as error.
|
Hi @vedran-kasalica, could you take a look into this solution? Creating non-functional scripts by default felt wrong to me, so I only do it if explicitly desired. Otherwise, I log an error message with information about the tool names where the code is missing. |
|
Thanks @eladrion, that’s a good idea, I will have a look at it (I am currently not able to generate the I’m wondering whether the tag could be used for all workflow outputs ( On a more general note, the |
|
I think the tag could be reused for CWL. CWL requires a |
…port for restricting to full implementations for CWL and snakemake by leveraging "CWL file reference" and "code".
|
@vedran-kasalica, @CGru21: I exteded the support for skipping partial shell scripts to CWL and Snakemake export. A CWL workflow is seen as partial, if the |
|
@vedran-kasalica Currently, I first check (if partial implementations shall be skipped), whether there is missing information about CWL reference or code. This requires iterating over the modules. And if all information is present, the workflow is generated, which again includes iterating over the modules. I would propose that I propagate the "skipping" flag to the creation of the workflow and if |
Pull Request Overview
Implement a configuration option
create_partial_scripts(falseby default) and only create partial scripts with missing tool information as comment if set totrue. Otherwise, log output file and missing tools as error.Also, the created scripts contain the same header (generation info) as CWL files, for example
Related Issue
Resolves #50
Changes Introduced
APERunConfigandAPEConfigTagFactorySolutionGraphFactorywriteExecutableWorkflowsinAPEto react on the configuration optioncreate_partial_scriptswith valuetrueto behave as beforeHow Has This Been Tested?
Locally using test suite.
Checklist