-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added loop support #5
Conversation
The important question here is: do we still need I think that we can proceed in two ways: either modify the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs loop conformance tests, and needs all the tests to use cwlVersion: v1.3.0-dev1
everywhere except for the mixed versions tests which should be adapted with care.
For testing purposes you could also adjust the CI to use cwltool from your PR. We can revert that bit once there is a cwltool release with v1.3.0-dev1
support.
e62e5b3
to
e99c631
Compare
Putting this PR in Draft state, as it depends on this one. |
c31c3ff
to
4e5d223
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a changelog entry and ideally some tests that don't use InlineJavascriptRequirement
dc16d13
to
e85d631
Compare
a0913f2
to
145185f
Compare
e1433bd
to
6670c07
Compare
This is still true |
6670c07
to
749e33e
Compare
ab8b826
to
c575cad
Compare
I have a simple question about loop feature. Is it included as mandatory, or optional (e.g., do we need the I understand it is essentially needed for several applications.
|
@tom-tan We could make it optional but without needing a |
My comment about "Could we expand the names to last_iteration_output and all_iteration_outputs" still applies, the rest looks good. |
- name: LoopOutputMethod | ||
type: enum | ||
docParent: "#LoopWorkflowStep" | ||
doc: The loop output method, as described in [workflow step loop](#LoopWorkflowStep). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, also described here :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This format is compliant to the scatterMetod
field documented just above
There was an error in how we were running the self-check (are all the CWL documents used in the conformance tests valid at the schema level) which I fixed in #46 and rebased into here
|
I think the best idea would be to simply remove the test, as we can easily rely on SchemaSalad validation to assess this behaviour, without the need for a specific test |
02c9d5e
to
7762d54
Compare
7762d54
to
caa03de
Compare
115375e
to
d22e4b4
Compare
56bfeeb
to
688364d
Compare
@@ -24,7 +24,7 @@ jobs: | |||
python-version: '3.9.x' | |||
|
|||
- name: Setup prerequirements | |||
run: pip install "cwltest>=2.3" pytest-xdist "git+https://github.com/common-workflow-language/cwltool.git@main#egg=cwltool" | |||
run: pip install "cwltest>=2.3" pytest-xdist "cwltool>=3.1.20240909164951" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: pip install "cwltest>=2.3" pytest-xdist "cwltool>=3.1.20240909164951" | |
run: pip install "cwltest>=2.3" pytest-xdist "cwltool>=3.1.20241007082533" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a changelog, otherwise I approve!
688364d
to
e43a673
Compare
This commit adds the previous
Loop
requirement extension directly into the CWL v1.3 spec.