From 658c995e14c8c1d78be62bf1134e77fed1468bf1 Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Wed, 16 Jul 2014 21:42:18 -0400 Subject: [PATCH] fix: remove slurm plugin defaults. these should be set by the caller --- nipype/pipeline/plugins/slurm.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nipype/pipeline/plugins/slurm.py b/nipype/pipeline/plugins/slurm.py index d948bc79b3..cd3803157b 100644 --- a/nipype/pipeline/plugins/slurm.py +++ b/nipype/pipeline/plugins/slurm.py @@ -87,12 +87,6 @@ def _submit_batchtask(self, scriptfile, node): sbatch_args = '%s -o %s' % (sbatch_args, os.path.join(path, 'slurm-%j.out')) if '-e' not in sbatch_args: sbatch_args = '%s -e %s' % (sbatch_args, os.path.join(path, 'slurm-%j.out')) - if '-p' not in sbatch_args: - sbatch_args = '%s -p normal' % (sbatch_args) - if '-n' not in sbatch_args: - sbatch_args = '%s -n 16' % (sbatch_args) - if '-t' not in sbatch_args: - sbatch_args = '%s -t 1:00:00' % (sbatch_args) if node._hierarchy: jobname = '.'.join((os.environ.data['LOGNAME'], node._hierarchy,