Skip to content

Commit 1732136

Browse files
committed
FIX 3164
1 parent b62d806 commit 1732136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/plugins/sgegraph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def make_job_name(jobnumber, nodeslist):
148148
stdoutFile = ""
149149
if self._qsub_args.count("-o ") == 0:
150150
stdoutFile = "-o {outFile}".format(outFile=batchscriptoutfile)
151-
full_line = "{jobNm}=$(qsub {outFileOption} {errFileOption} {extraQSubArgs} {dependantIndex} -N {jobNm} {batchscript} | awk '{{print $3}}')\n".format(
151+
full_line = "{jobNm}=$(qsub {outFileOption} {errFileOption} {extraQSubArgs} {dependantIndex} -N {jobNm} {batchscript} | awk '/^Your job/{{print $3}}')\n".format(
152152
jobNm=jobname,
153153
outFileOption=stdoutFile,
154154
errFileOption=stderrFile,

0 commit comments

Comments
 (0)