Erroneous error message creating womgraph
open | Created 2018-02-16 | Last updated 2019-02-21| Posted by LeeTL1220 | See in Github


Needs Triage User Requested Improvement WDL Developer Joy


I have a large WDL file. At some point, I write the below WDL and get an error:

Array[File] mybams

if (run_my_bams) {
  scatter (i in range(length(mybams))) {
 ......
  }
}
Unable to build WOM node for Scatter '$scatter_0': Unable to build WOM node for If '$if_1': Two or more nodes have the same FullyQualifiedName: ^.mybams"

To fix, I randomly tried the below and it worked:

Array[File] mybams
Int num_mybams = length(mybams)

if (run_my_bams) {
  scatter (i in range(num_mybams)) {
 ......
  }
}

Given that this is equivalent WDL, there should not have been an error message.


Return to top