Skip to content

Commit

Permalink
Fix optional unpacking syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lvreynoso committed Sep 7, 2023
1 parent 1bee2ec commit fe3e8b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflows/amr/run.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ workflow amr {
String s3_wd_uri = ""
}
if (defined(raw_reads_0)) {
Array[File]+ raw_reads = select_all([select_first([raw_reads_0]), select_first([raw_reads_1])])
Array[File]+ raw_reads = select_all([raw_reads_0, raw_reads_1])

call host_filter.czid_host_filter as host_filter_stage {
input:
Expand Down Expand Up @@ -53,8 +53,8 @@ workflow amr {
}
}

Array[File]+ non_host_reads_in = select_first([RunRedup.redups_fa, select_first([non_host_reads])])
File contigs_in = select_first([RunSpades.contigs, select_first([contigs])])
Array[File]+ non_host_reads_in = select_first([RunRedup.redups_fa, select_all([non_host_reads])])
File contigs_in = select_first([RunSpades.contigs, select_all([contigs])])

call RunRgiBwtKma {
input:
Expand Down

0 comments on commit fe3e8b9

Please sign in to comment.