Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/rkansal47/HHbbVV into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Aug 29, 2023
2 parents d59dcee + d865bfb commit 5caada5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inference_scans/nuisance_renames.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
def rename_nuisance(nuisance: str):
if nuisance.startswith("CMS_bbWW_hadronic_"):
nuisance = nuisance.split("CMS_bbWW_hadronic_")[1]

if nuisance.startswith("tf_dataResidual_bbFatJetParticleNetMass_"):
return "TF_" + nuisance.split("tf_dataResidual_bbFatJetParticleNetMass_")[1]
return nuisance

return nuisance

0 comments on commit 5caada5

Please sign in to comment.