Skip to content
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

new req for dumping CommandLineTools inputs into a "cwl.input.json" file #15

Open
mr-c opened this issue Nov 16, 2023 · 0 comments
Open

Comments

@mr-c
Copy link
Member

mr-c commented Nov 16, 2023

  • does the cwl.input.json file go in the working directory?
  • If so, how does this interact with InitialWorkDirRequirement?

Possible example:

Before:

requirements:
  InlineJavascriptRequirement: {}
  InitialWorkDirRequirement:
    listing:
      - entryname: cwl_inputs.json
        entry: $(JSON.stringify(inputs))
arguments:
  - -ini
  - cwl_inputs.json

After:

requirements:
  InputsAsJson: {}  # default name is "cwl.input.json"
arguments:
  - -ini
  - cwl.input.json

or very concisely, perhaps:

arguments:
  - -ini
  - ${InputAsJson}  # resolves to a random filename ending in ".json" located not in the current working directory
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

No branches or pull requests

1 participant