We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b62d806 + 1732136 commit 978579bCopy full SHA for 978579b
nipype/pipeline/plugins/sgegraph.py
@@ -148,7 +148,7 @@ def make_job_name(jobnumber, nodeslist):
148
stdoutFile = ""
149
if self._qsub_args.count("-o ") == 0:
150
stdoutFile = "-o {outFile}".format(outFile=batchscriptoutfile)
151
- full_line = "{jobNm}=$(qsub {outFileOption} {errFileOption} {extraQSubArgs} {dependantIndex} -N {jobNm} {batchscript} | awk '{{print $3}}')\n".format(
+ full_line = "{jobNm}=$(qsub {outFileOption} {errFileOption} {extraQSubArgs} {dependantIndex} -N {jobNm} {batchscript} | awk '/^Your job/{{print $3}}')\n".format(
152
jobNm=jobname,
153
outFileOption=stdoutFile,
154
errFileOption=stderrFile,
0 commit comments