task secondary_files {
input {
File inp
File inp_csv
}
command <<<
set -e
echo ~{inp}
>>>
output {
Array[File] out = glob("*.txt")
# Expect to see
# Array[File] out_csv = ...
}
}
It's missing the output:
Array[File] out_csv = ...
This is probably pretty tricky without a map function in WDL. It might not even be strictly possible. Just thought it be better documented that this is an issue.
Consider the tool with some GenericFile with secondaries
[".csv"]
(eg:base.txt
w/ sec:base.txt.csv
:This gives the approx WDL translation:
It's missing the output:
This is probably pretty tricky without a
map
function in WDL. It might not even be strictly possible. Just thought it be better documented that this is an issue.