Skip to content

Conversation

tetron
Copy link
Member

@tetron tetron commented Oct 5, 2021

Changes it to reference another input parameter instead of using self.
The behavior of processing secondary files patterns in order and being
able to reference earlier ones later is not part of the spec.

This doesn't exactly replicate the previous behavior, because it
introduces a new input parameter, however it does demonstrate the
ability to rename a file and have it staged as a secondary file
without having to use InitialWorkDir.

refs #127

tetron and others added 3 commits October 5, 2021 15:55
Changes it to reference another input parameter instead of using self.
The behavior of processing secondary files patterns in order and being
able to reference earlier ones later is not part of the spec.

This doesn't exactly replicate the previous behavior, because it
introduces a new input parameter, however it does demonstrate the
ability to rename a file and have it staged as a secondary file
without having to use InitialWorkDir.

refs #127
@mr-c mr-c enabled auto-merge (squash) October 6, 2021 10:06
@mr-c mr-c merged commit 754dae1 into 1.2.1_proposed Oct 6, 2021
@mr-c mr-c deleted the command_input_file_expression-test-fix branch October 6, 2021 10:18
@mr-c
Copy link
Member

mr-c commented Oct 6, 2021

Yeah, I struggled with this test for toil-cwl-runner (by removing their hack and using more cwltool code): DataBiosphere/toil@34af4b3#diff-0de692d823906d36705d7d2c02a0bc99e191abc8b48f258401f9611184f339a2L3221

mr-c added a commit that referenced this pull request Oct 9, 2021
Changes it to reference another input parameter instead of using self.
The behavior of processing secondary files patterns in order and being
able to reference earlier ones later is not part of the spec.

This doesn't exactly replicate the previous behavior, because it
introduces a new input parameter, however it does demonstrate the
ability to rename a file and have it staged as a secondary file
without having to use InitialWorkDir.

refs #127

Co-authored-by: Michael R. Crusoe <[email protected]>
kinow pushed a commit to kinow/cwl-v1.2 that referenced this pull request Oct 20, 2022
…guage#128)

Changes it to reference another input parameter instead of using self.
The behavior of processing secondary files patterns in order and being
able to reference earlier ones later is not part of the spec.

This doesn't exactly replicate the previous behavior, because it
introduces a new input parameter, however it does demonstrate the
ability to rename a file and have it staged as a secondary file
without having to use InitialWorkDir.

refs common-workflow-language#127

Co-authored-by: Michael R. Crusoe <[email protected]>
@GlassOfWhiskey
Copy link
Collaborator

@mr-c @tetron @kinow can someone confirm that this issue has been solved by 128? For me, it can be closed.

@mr-c
Copy link
Member

mr-c commented Apr 18, 2023

@mr-c @tetron @kinow can someone confirm that this issue has been solved by 128? For me, it can be closed.

Did you mean to post your comment on an issue? This is PR 128..

@GlassOfWhiskey
Copy link
Collaborator

@mr-c @tetron @kinow can someone confirm that this issue has been solved by 128? For me, it can be closed.

Did you mean to post your comment on an issue? This is PR 128..

Yes sorry. It seems to me that this solves #127.

@kinow
Copy link
Member

kinow commented Apr 18, 2023

@mr-c @tetron @kinow can someone confirm that this issue has been solved by 128? For me, it can be closed.

Did you mean to post your comment on an issue? This is PR 128..

Yes sorry. It seems to me that this solves #127.

Just read #127, and this PR, and +1 that this solves #127, as this uses an input reference instead of accessing the array element (which relies on chance to work on different CWL implementations, as reported in the linked issue).

GlassOfWhiskey pushed a commit that referenced this pull request Nov 15, 2023
Changes it to reference another input parameter instead of using self.
The behavior of processing secondary files patterns in order and being
able to reference earlier ones later is not part of the spec.

This doesn't exactly replicate the previous behavior, because it
introduces a new input parameter, however it does demonstrate the
ability to rename a file and have it staged as a secondary file
without having to use InitialWorkDir.

refs #127

Co-authored-by: Michael R. Crusoe <[email protected]>
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.

4 participants