Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Expected key is missing in 'inspect' command #25

Closed
xzhub opened this issue Apr 21, 2020 · 3 comments
Closed

Expected key is missing in 'inspect' command #25

xzhub opened this issue Apr 21, 2020 · 3 comments

Comments

@xzhub
Copy link

xzhub commented Apr 21, 2020

Describe the bug
when there is scatter loop in wdl script, error occurs.

To Reproduce

oliver su test_inspect.wdl
oliver i <wdl-id>

error output:

$ oliver i 38698c18-f3ca-492e-a7d7-d9a9bc1edcd7
[E 200422 01:34:28 errors:28] Expected key is missing! The code needs to be updated, please contact the author!
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fbdb9855250>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fbdb989ed70>, 2165426.275444354)]']
connector: <aiohttp.connector.TCPConnector object at 0x7fbdb9855590>

content of test_inspect.wdl

task t1 {
  Boolean in
  command {
    echo ${in}
    sleep 30
  }

}
task sl {
  Int s
  command { sleep ${s} }
}

workflow run {
   Boolean in=true
   call t1 { input: in=in }
   scatter (i in [1,2,3,4,5,6,7,8]) {
    call sl { input: s = 120 }
   }
}
@jsunny23
Copy link
Contributor

Thanks for making a new issue and providing a test workflow! I'm looking into this.

@jsunny23
Copy link
Contributor

Please try v1.3.1 and let me know if that works.

@xzhub
Copy link
Author

xzhub commented Apr 21, 2020

Worked perfectly! Thank you very much!

@xzhub xzhub closed this as completed Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants