Skip to content

Commit 7843c06

Browse files
committed
Merge pull request #880 from satra/fix/slurm
fix: remove slurm plugin defaults. these should be set by the caller
2 parents ad4ac3d + 658c995 commit 7843c06

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

nipype/pipeline/plugins/slurm.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ def _submit_batchtask(self, scriptfile, node):
8787
sbatch_args = '%s -o %s' % (sbatch_args, os.path.join(path, 'slurm-%j.out'))
8888
if '-e' not in sbatch_args:
8989
sbatch_args = '%s -e %s' % (sbatch_args, os.path.join(path, 'slurm-%j.out'))
90-
if '-p' not in sbatch_args:
91-
sbatch_args = '%s -p normal' % (sbatch_args)
92-
if '-n' not in sbatch_args:
93-
sbatch_args = '%s -n 16' % (sbatch_args)
94-
if '-t' not in sbatch_args:
95-
sbatch_args = '%s -t 1:00:00' % (sbatch_args)
9690
if node._hierarchy:
9791
jobname = '.'.join((os.environ.data['LOGNAME'],
9892
node._hierarchy,

0 commit comments

Comments
 (0)