Skip to content

Commit

Permalink
Merge pull request #143 from cms-PdmV/dev
Browse files Browse the repository at this point in the history
Update DIGI and RECO tag rule for GrASP
  • Loading branch information
ggonzr authored Jun 20, 2023
2 parents 8e9f4f5 + 48ed02c commit f6e5196
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/samples_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def get_chain_tag(self, name):
try:
if 'DIGI' in name:
tag = name.split('-')[1].split('DIGI')[1].split('_')[0]
elif 'DR' in name:
tag = name.split('-')[1].split('DR')[1].split('_')[0]

if tag:
return tag
Expand Down

0 comments on commit f6e5196

Please sign in to comment.