Skip to content
Snippets Groups Projects

Identical datahandles not identical

Merged Nicole Skidmore requested to merge nskidmor-master-patch-d498 into master
@@ -524,10 +524,12 @@ class Hlt2Line(DecisionLine):
"ParticlesSelection" if output_type == "Particles" else output_type
)
if prefix == "" and output in prdict.values(): # for selective reco case
if prefix == "" and str(output) in map(
str, prdict.values()
): # for selective reco case
entry_new = [
prefix,
[k for k, v in prdict.items() if output == v][0],
[k for k, v in prdict.items() if str(output) == str(v)][0],
output_type,
"reco",
]
@@ -599,6 +601,7 @@ class Hlt2Line(DecisionLine):
if prefix:
additional_outputs.append((output, (decision_node.name, prefix)))
## Why is the below not an issue?
elif output in prdict.values():
additional_outputs.append((output, None))
else:
Loading