Skip to content

Commit

Permalink
exclude era Run3_2024 from being modified by UpgradeWorkflow_DDDDB
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Jun 12, 2024
1 parent 8d55d04 commit c9f2e91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2676,7 +2676,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
class UpgradeWorkflow_DDDDB(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
the_era = stepDict[step][k]['--era']
if 'Run3' in the_era and '2023' not in the_era and 'Fast' not in the_era and "Pb" not in the_era:
if 'Run3' in the_era and '2023' not in the_era and '2024' not in the_era and 'Fast' not in the_era and "Pb" not in the_era:
# retain any other eras
tmp_eras = the_era.split(',')
tmp_eras[tmp_eras.index("Run3")] = 'Run3_DDD'
Expand Down

0 comments on commit c9f2e91

Please sign in to comment.