Skip to content

Commit

Permalink
Merge pull request #53 from PMCC-BioinformaticsCore/slurm-cromwell
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
junyk authored Mar 31, 2021
2 parents ebf1275 + 3d533c2 commit b857c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions janis_assistant/engines/cromwell/cromwellconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def slurm(

afternotokaycommand = ""
if afternotokaycatch:
afternotokaycommand = f" && NTOKDEP=$({sbatch} --parsable --job-name \"catch-$jobname\" --kill-on-invalid-dep=yes {partition_string} --time '0:60' --dependency=afternotokay:$JOBID --wrap '{CromwellConfiguration.CATCH_ERROR_COMMAND}')"
afternotokaycommand = f" && NTOKDEP=$({sbatch} --parsable --job-name \"catch-$jobname\" --kill-on-invalid-dep=yes {partition_string} --time '0:60' --dependency=afternotok:$JOBID --wrap '{CromwellConfiguration.CATCH_ERROR_COMMAND}')"

return cls(
actor_factory="cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory",
Expand Down Expand Up @@ -433,7 +433,7 @@ def slurm_singularity(

afternotokaycommand = ""
if afternotokaycatch:
afternotokaycommand = f" && NTOKDEP=$({sbatch} --parsable --job-name \"catch-$jobname\" --kill-on-invalid-dep=yes {partition_string} --time '0:60' --dependency=afternotokay:$JOBID --wrap '{CromwellConfiguration.CATCH_ERROR_COMMAND}')"
afternotokaycommand = f" && NTOKDEP=$({sbatch} --parsable --job-name \"catch-$jobname\" --kill-on-invalid-dep=yes {partition_string} --time '0:60' --dependency=afternotok:$JOBID --wrap '{CromwellConfiguration.CATCH_ERROR_COMMAND}')"

emailextra = (
f'--mail-user "{jobemail}" --mail-type END' if jobemail else ""
Expand Down

0 comments on commit b857c98

Please sign in to comment.