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

Runtime error with default string = "" #364

Open
Ben-Habermeyer opened this issue Jul 28, 2022 · 0 comments
Open

Runtime error with default string = "" #364

Ben-Habermeyer opened this issue Jul 28, 2022 · 0 comments

Comments

@Ben-Habermeyer
Copy link

Hi DXCompiler team,

I recently ran into a runtime IOerror No value found for I O spec field caller_to_emulate when calling a workflow with a String input that is "" by default, using dxCompiler 2.10.2

For example

workflow1 {
  input {
    Int req_input
    Int random_seed = -1
    String caller_to_emulate = ""
  }
... 
}

# workflow 2 calls workflow 1, but does not provide caller to emulate
workflow2 {
...
  call workflow1 {
    input:
        req_input=1
  }
}

I haven't found anything in the wdl spec as to why an empty string would not be accepted as a default. https://github.com/openwdl/wdl/blob/main/versions/1.1/SPEC.md#concatenation-of-optional-values could you investigate this one?

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