Skip to content

Commit

Permalink
shorten fmriprep maxtime to 1 day 4 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
dmd committed Jan 11, 2024
1 parent cf7df3f commit 6ab57db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micc_fmriprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def is_dir(dirname):
if SYSTYPE == "sge":
sub_cmd = f"{QSUB} -cwd -q fmriprep.q -N {args.jobname} -pe fmriprep {args.ncpus} -w e -R y {filename}".split()
elif SYSTYPE == "slurm":
sub_cmd = f"{SBATCH} --job-name {args.jobname} --output=%x-%j.out --error=%x-%j.err --time 3- --cpus-per-task={args.ncpus} --mem={args.ramsize}G {filename}".split()
sub_cmd = f"{SBATCH} --job-name {args.jobname} --output=%x-%j.out --error=%x-%j.err --time 1-4 --cpus-per-task={args.ncpus} --mem={args.ramsize}G {filename}".split()
print(" ".join(sub_cmd))
if args.dry_run:
print("NOT running; dry run only.")
Expand Down

0 comments on commit 6ab57db

Please sign in to comment.