Skip to content

Fix Conda and BioContainers functionality for CWL tool development.#828

Merged
jmchilton merged 3 commits intogalaxyproject:masterfrom
jmchilton:cwl_fixes_6
May 17, 2018
Merged

Fix Conda and BioContainers functionality for CWL tool development.#828
jmchilton merged 3 commits intogalaxyproject:masterfrom
jmchilton:cwl_fixes_6

Conversation

@jmchilton
Copy link
Member

  • Bring in galaxy-lib update to parse CWL SoftwareRequirements into Galaxy requirements. This fixes conda_install and conda_env commands for instance and enables the next change.
  • Annotate conda and biocontainers linters as checking CWL files - enables support for planemo lint --conda_requirements, planemo lint --biocontainers on CWL tools.
  • If --no-container is specified when using the "cwltool" engine for the test or run command, turn on Planemo's default dependency resolvers for the cwltool run. The can be combined with --no_dependency_resolution to turn off dependency resolution the same as Galaxy - this is close to what the previous behavior of cwltool in Planemo was.
  • If --biocontainers is specified as an argument to Planemo during test or run commands - turn them on for cwltool as well (using its --beta-use-biocontainers command).

jmchilton added 2 commits May 16, 2018 12:56
Should enable support "planemo lint --conda_requirements", "planemo lint --biocontainers", "planemo conda_install", "planemo conda_env".
By default, don't mess with cwltool's normal behavior to make it more like a Planemo configured Galaxy. However, if --no-container is specified go ahead and turn on Planemo's default dependency resolvers for the cwltool run. Also if --biocontainers is specified to Planemo - turn them on for cwltool as well (--beta-use-biocontainers).
@jmchilton jmchilton force-pushed the cwl_fixes_6 branch 2 times, most recently from a82de39 to 66f2c7c Compare May 17, 2018 00:27
There was a Python 3 problem with the dependency resolver stuff in the version previously targetted, reving this and praying. Had to replace some CWL draft 3 testing artifacts with version 1.0 since the former is not longer compatible with latest versions of CWL.
@jmchilton jmchilton merged commit 6de6214 into galaxyproject:master May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant