diff --git a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py index 6cb97d8735746..b19eeaec60068 100644 --- a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py +++ b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py @@ -2511,9 +2511,9 @@ def setupPU_(self, step, stepName, stepDict, k, properties): d = merge([stepDict[self.getStepName(step)][k]]) if "_PMXS1S2" in self.suffix and "--filein" in d: filein = d["--filein"] - m = re.search("step(?P\\d+)_", filein) + m = re.search("step(?P\\d+)", filein) if m: - d["--filein"] = filein.replace(m.group(), "step%d_"%(int(m.group("ind"))+1)) + d["--filein"] = filein.replace(m.group(), "step%d"%(int(m.group("ind"))+1)) stepDict[stepName][k] = d # run2/3 WFs use Nano (not NanoPU) in PU WF stepDict[self.getStepName(step)][k] = merge([d])