Merged
Conversation
This was referenced Nov 19, 2019
Closed
Member
Author
|
Can we merge this? Is |
Member
|
I'm working on 1.2 this week so let me give it a review |
I don't think there's a backwards compatibility issue here that necessitates a dev2.
43cea80 to
4e04a59
Compare
Member
|
Rebased on master. Reverted the -dev2 version to -dev1 to avoid the need for a migration. |
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.
Implements common-workflow-language/common-workflow-language#337 for abstract operations.
I've done this as
v1.2.0-dev2to avoid conflict with @kaushik-work on conditionals - in a sense this one should be easier to merge in asOperationis a new class.Adds a new definition for Operation - basically like
CommandLineToolwithinputsandoutputs- but norun(TODO: should it permit dummy
runandstepswhich are ignored? I think requirements/hints already would work)Example standalone use in operation.cwl:
Example inline use (perhaps more typical) where the last step is not yet implemented in revsort-abstract.cwl:
I added support in cwltool now on corresponding
abstract-operationbranch, which just throws warning and returnsnull- there is no way to bind the Operation to a CommandLineTool at a moment, but that was raised in common-workflow-language/common-workflow-language#337 as desired.Crucially both
cwltool --validateandcwltool --print-rdfworks - so CWL Viewer would be able to render these workflows. In addition, the validation will still complain if the outputs are not wired correctly in the rest of the workflow.