Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Jun 24, 2024
1 parent ee81082 commit 77718b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bidscoin/bidsapps/slicereport.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def slicer_append(inputimage: Path, operations: str, outlineimage: Path, mainopt
jt.nativeSpecification = drmaa_nativespec(cluster, pbatch)
jt.joinFiles = True
jt.jobName = 'slicereport'
jt.outputPath = f"{os.getenv('HOSTNAME')}:{workdir}/{jt.jobName}.out"
jt.outputPath = f"{os.getenv('HOSTNAME')}:{workdir if DEBUG else tempfile.gettempdir()}/{jt.jobName}.out"
jobid = pbatch.runJob(jt)
pbatch.deleteJobTemplate(jt)
LOGGER.info(f"Your slicereport job has been submitted with ID: {jobid}")
Expand Down

0 comments on commit 77718b6

Please sign in to comment.