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

Insufficient input values supplied by engine in dxWDL 1.02 #235

Closed
pkaleta opened this issue May 1, 2019 · 2 comments
Closed

Insufficient input values supplied by engine in dxWDL 1.02 #235

pkaleta opened this issue May 1, 2019 · 2 comments

Comments

@pkaleta
Copy link

pkaleta commented May 1, 2019

I'm working on porting my workflow to dxWDL 1.02. I have the following definition (redacted):

workflow my_workflow {
    String x
    ...
    Boolean use_foo = false

    call bar {
        input: ...
    }
    if (use_foo) {
        call foo as foo_task {
            input: f_in=bar.out
        }
    }
    File result = select_first([foo.out, bar.out])
    ...

task foo {
...
}

task bar {
...
}

I'm getting this error when trying to run it:

Watching job job-FY3kBQ00z81ZppPXJFx042Vx. Press Ctrl+C to stop.
* frag make_foo (foo_frag_1:main) (failed) job-FY3kBQ00z81ZppPXJFx042Vx
  piotr 2019-04-30 02:22:21 (runtime 0:00:35)
2019-04-30 02:42:48 frag make_samplesheet ALERT This job has been restarted due to AppInternalError from running this job
* frag make_foo (foo_frag_1:main) (failed) job-FY3kBQ00z81ZppPXJFx042Vx
  piotr 2019-04-30 02:22:21 (runtime 0:00:35)
  AppInternalError: Failed to evaluate expression select_first([foo.out,
  bar.out]) Errors: NonEmptyList(No value found for
  member access lookup. Report this bug: Insufficient input values supplied by engine. Needed
  foo or foo.out  but only received:  lane,
  bar.out )  Environment:     x -> WomString(2)
  bar.out -> WomSingleFile(dx:
  <redacted>::  <redacted>.json)

It looks like foo is not available in the select_first() call. This construct used to work fine in the previous version of the dxWDL (0.81.6)

@pkaleta
Copy link
Author

pkaleta commented May 1, 2019

@orodeh

@orodeh
Copy link
Contributor

orodeh commented May 1, 2019

Just fixed in master.

@orodeh orodeh closed this as completed May 1, 2019
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

2 participants