Fix Conda and BioContainers functionality for CWL tool development.#828
Merged
jmchilton merged 3 commits intogalaxyproject:masterfrom May 17, 2018
Merged
Fix Conda and BioContainers functionality for CWL tool development.#828jmchilton merged 3 commits intogalaxyproject:masterfrom
jmchilton merged 3 commits intogalaxyproject:masterfrom
Conversation
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).
a82de39 to
66f2c7c
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
conda_installandconda_envcommands for instance and enables the next change.planemo lint --conda_requirements,planemo lint --biocontainerson CWL tools.--no-containeris specified when using the "cwltool" engine for thetestorruncommand, turn on Planemo's default dependency resolvers for the cwltool run. The can be combined with--no_dependency_resolutionto turn off dependency resolution the same as Galaxy - this is close to what the previous behavior of cwltool in Planemo was.--biocontainersis specified as an argument to Planemo duringtestorruncommands - turn them on for cwltool as well (using its--beta-use-biocontainerscommand).