diff --git a/bidscoin/bidsapps/slicereport.py b/bidscoin/bidsapps/slicereport.py index e55ec8fb..2e2c60e0 100755 --- a/bidscoin/bidsapps/slicereport.py +++ b/bidscoin/bidsapps/slicereport.py @@ -128,7 +128,8 @@ def slicer_append(inputimage: Path, operations: str, outlineimage: Path, mainopt jt.jobName = 'slicereport' jt.outputPath = f"{os.getenv('HOSTNAME')}:{workdir}/{jt.jobName}.out" jobid = pbatch.runJob(jt) - LOGGER.info(f"Your slicereport job has been submitted with ID: {jobid}") + pbatch.deleteJobTemplate(jt) + LOGGER.info(f"Your slicereport job has been submitted with ID: {jobid}") else: LOGGER.bcdebug(f"Command: {command}")