Skip to content

Commit

Permalink
Use new --attempts flag
Browse files Browse the repository at this point in the history
instead of soon will be deprecated flags --max_non_preemptible_tries and --maxwq_preemptible_tries
  • Loading branch information
samanvp committed Jul 11, 2019
1 parent e693d8d commit aca8701
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gcp_deepvariant_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,9 @@ def _set_computational_flags_based_on_bam_size(pipeline_args):
# Following flags are independent of BAM file category.
pipeline_args.gcsfuse = True
pipeline_args.preemptible = True
pipeline_args.max_preemptible_tries=2
pipeline_args.max_non_preemptible_tries=1
pipeline_args.attempts = 2
pipeline_args.max_preemptible_tries = 0
pipeline_args.max_non_preemptible_tries = 0
if pipeline_args.gvcf_outfile:
pipeline_args.postprocess_variants_disk_gb = _POSTPROCESS_VARIANTS_DISK_GVCF

Expand Down

0 comments on commit aca8701

Please sign in to comment.