diff --git a/bidscoin/bidsapps/slicereport.py b/bidscoin/bidsapps/slicereport.py index 3d483b8c..54580972 100755 --- a/bidscoin/bidsapps/slicereport.py +++ b/bidscoin/bidsapps/slicereport.py @@ -121,7 +121,7 @@ def slicer_append(inputimage: Path, operations: str, outlineimage: Path, mainopt with drmaasession() as pbatch: jt = pbatch.createJobTemplate() jt.jobEnvironment = os.environ - jt.remoteCommand = script + jt.remoteCommand = str(script) jt.nativeSpecification = cluster jt.joinFiles = True jt.jobName = 'slicereport'