Skip to content

Commit

Permalink
add protection for alca step in the prodlike and pixel-tracking only …
Browse files Browse the repository at this point in the history
…phase-2 workflows
  • Loading branch information
mmusich committed Oct 28, 2022
1 parent 6370ca8 commit d6b34b1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def condition_(self, fragment, stepList, key, hasHarvest):
class UpgradeWorkflow_pixelTrackingOnly(UpgradeWorkflowTracking):
def setup__(self, step, stepName, stepDict, k, properties):
if 'Reco' in step: stepDict[stepName][k] = merge([self.step3, stepDict[step][k]])
# skip ALCA step as products might not be available
elif 'ALCA' in step: stepDict[stepName][k] = None
elif 'HARVEST' in step: stepDict[stepName][k] = merge([{'-s': 'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM'}, stepDict[step][k]])
def condition_(self, fragment, stepList, key, hasHarvest):
return ('2017' in key or '2018' in key or '2021' in key or '2026' in key) and ('FS' not in key)
Expand All @@ -348,6 +350,8 @@ def condition_(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'ALCAPhase2'
],
suffix = '_pixelTrackingOnly',
offset = 0.5,
Expand Down Expand Up @@ -1295,6 +1299,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'MiniAOD',
'ALCA',
'ALCAPhase2',
'Nano',
],
PU = [
Expand All @@ -1309,6 +1314,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'MiniAOD',
'ALCA',
'ALCAPhase2',
'Nano',
],
suffix = '_ProdLike',
Expand Down

0 comments on commit d6b34b1

Please sign in to comment.