Skip to content

Commit

Permalink
Fix crash when reporting TBProfiler-bam depths
Browse files Browse the repository at this point in the history
  • Loading branch information
aofarrel committed Sep 22, 2023
1 parent e966304 commit ed991f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myco_raw.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ workflow myco {
# coerce optional types into required types
Array[String] coerced_bam_strains=select_all(profile_bam.strain)
Array[String] coerced_bam_resistances=select_all(profile_bam.resistance)
Array[String] coerced_bam_depths=select_all(profile_bam.median_depth)
Array[Int] coerced_bam_depths=select_all(profile_bam.median_depth_as_int)

# workaround for "profile_bam.strain exists but profile_bam didn't run" bug
if(!(length(coerced_bam_strains) == 0)) {
Expand Down

0 comments on commit ed991f0

Please sign in to comment.