Skip to content

Refactor collection mapping workflows toward independence from tools.#6911

Merged
mvdbeek merged 1 commit intogalaxyproject:devfrom
jmchilton:workflow_mapping_refactor
Nov 5, 2018
Merged

Refactor collection mapping workflows toward independence from tools.#6911
mvdbeek merged 1 commit intogalaxyproject:devfrom
jmchilton:workflow_mapping_refactor

Conversation

@jmchilton
Copy link
Member

@jmchilton jmchilton commented Oct 23, 2018

Refactor workflow module method get_data_inputs into get_all_inputs and use the resulting dictionaries to reason about if collection mapping should occur during invocation of tools. Using these dictionaries instead of explicit tool input objects should allow reuse within other module types since they may produce the same interface.

@jmchilton jmchilton added kind/refactoring cleanup or refactoring of existing code, no functional changes area/dataset-collections area/cwl labels Oct 23, 2018
@galaxybot galaxybot added this to the 19.01 milestone Oct 23, 2018
@jmchilton jmchilton force-pushed the workflow_mapping_refactor branch from 0a4d15f to 7be324b Compare October 23, 2018 18:58
Refactor get_data_inputs into get_all_inputs and use the resulting dictionaries to reason about if collection mapping should occur during invocation of tools. Using these dictionaries instead of explicit tool input objects should allow reuse within other module types since they may produce the same interface.
@jmchilton
Copy link
Member Author

Here (6d7632e) you can see this refactoring enabling a nice simplification/unification of data and non-data parameters in the step parameter branch corresponding to #6919. And here (common-workflow-lab@7598bb5#diff-5cab48d5f01fec3fa30d17f4bf5d1848R22) you can see how it enables a bunch of features in the main CWL commit in that branch - defaults, expression inputs, field parameter types, etc..

@mvdbeek
Copy link
Member

mvdbeek commented Oct 31, 2018

@galaxybot test py3

@mvdbeek mvdbeek merged commit c1e4b01 into galaxyproject:dev Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cwl area/dataset-collections kind/refactoring cleanup or refactoring of existing code, no functional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants