Skip to content

Commit

Permalink
Make preemptible_tries explicitly optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed Feb 26, 2024
1 parent 84704f9 commit 357efc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wdl/TrainGqRecalibrator.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ task TrainGqRecalibratorTask {
Float mem_scale_vcf_size = 25.2
Float mem_scale_num_entries = "3.7e-7"
Float mem_gb_overhead = 1.5
Int preemptible_tries = 3
Int? preemptible_tries
}

Int disk_gb = round(1000 + size([train_vcf, train_vcf_index, ped_file, truth_file], "GiB") +
Expand All @@ -69,7 +69,7 @@ task TrainGqRecalibratorTask {
runtime {
docker: gatk_docker
cpu: 1
preemptible: preemptible_tries
preemptible: select_first([preemptible_tries, 3])
max_retries: 1
memory: mem_gb + " GiB"
disks: "local-disk " + disk_gb + " HDD"
Expand Down

0 comments on commit 357efc1

Please sign in to comment.