We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
glob: {*.txt,*.png} should match all of the braced patterns.
Nothing is returned.
class: CommandLineTool cwlVersion: v1.0 baseCommand: - ls inputs: - id: input type: string? outputs: - id: output type: File[] outputBinding: glob: '{*.png,*.txt}' requirements: - class: DockerRequirement dockerPull: 'ubuntu:16.04' - class: InitialWorkDirRequirement listing: - entryname: a.txt entry: a - entryname: b.png entry: b stdout: b.txt
The text was updated successfully, but these errors were encountered:
Brace expression isn't part of the POSIX glob syntax, that is a BASH-ism.
For this example, here's a working version:
class: CommandLineTool cwlVersion: v1.0 baseCommand: - ls inputs: - id: input type: string? outputs: - id: output type: File[] outputBinding: glob: - *.png - *.txt requirements: - class: DockerRequirement dockerPull: 'ubuntu:16.04' - class: InitialWorkDirRequirement listing: - entryname: a.txt entry: a - entryname: b.png entry: b stdout: c.txt
Or with an inline YAML list: glob: [ *.png, *. txt ]
glob: [ *.png, *. txt ]
Sorry, something went wrong.
Tnx @mr-c for the clarification. I guess I should close the linked PR as well then?
Yes
No branches or pull requests
Expected Behavior
glob: {*.txt,*.png} should match all of the braced patterns.
Actual Behavior
Nothing is returned.
Workflow Code
Your Environment
The text was updated successfully, but these errors were encountered: