Skip to content

Instantly share code, notes, and snippets.

@lparsons
Created May 3, 2019 16:04
Show Gist options
  • Save lparsons/989d046f6bb95a4f8cdac03e12ec116f to your computer and use it in GitHub Desktop.
Save lparsons/989d046f6bb95a4f8cdac03e12ec116f to your computer and use it in GitHub Desktop.
Toil patches
diff --git a/src/toil/batchSystems/slurm.py b/src/toil/batchSystems/slurm.py
index 03884b7f..782d9f0c 100644
--- a/src/toil/batchSystems/slurm.py
+++ b/src/toil/batchSystems/slurm.py
@@ -96,8 +96,8 @@ class SlurmBatchSystem(AbstractGridEngineBatchSystem):
'-n', # no header
'-j', str(slurmJobID), # job
'--format', 'State,ExitCode', # specify output columns
- '-P', # separate columns with pipes
- '-S', '1970-01-01'] # override start time limit
+ '-P'] # separate columns with pipes
+ # '-S', '1970-01-01'] # override start time limit
process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
rc = process.returncode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment