Skip to content

Commit ad685bb

Browse files
committed
fix mistake in regex
1 parent 809035e commit ad685bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,9 +2611,9 @@ def setupPU_(self, step, stepName, stepDict, k, properties):
26112611
d = merge([stepDict[self.getStepName(step)][k]])
26122612
if "_PMXS1S2" in self.suffix and "--filein" in d:
26132613
filein = d["--filein"]
2614-
m = re.search("step(?P<ind>\\d+)_", filein)
2614+
m = re.search("step(?P<ind>\\d+)", filein)
26152615
if m:
2616-
d["--filein"] = filein.replace(m.group(), "step%d_"%(int(m.group("ind"))+1))
2616+
d["--filein"] = filein.replace(m.group(), "step%d"%(int(m.group("ind"))+1))
26172617
stepDict[stepName][k] = d
26182618
# run2/3 WFs use Nano (not NanoPU) in PU WF
26192619
stepDict[self.getStepName(step)][k] = merge([d])

0 commit comments

Comments
 (0)