Skip to content
Snippets Groups Projects
Commit a755dd85 authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves:
Browse files

Merge branch 'sevda-mc-relations-fix' into 'master'

fix relation locations

See merge request !918
parents 53bdc6b7 852a2618
No related branches found
No related tags found
1 merge request!918fix relation locations
Pipeline #4559819 passed
......@@ -65,12 +65,17 @@ class MCReconstructed:
f"The specified 'process' {process} is not recognised. Can only be 'Hlt2' or 'Spruce' or 'Turbo'. Please check!"
)
if root_in_tes:
relations_locs = [
f'{root_in_tes}/{table_loc}' for table_loc in relations_locs
]
ChargedPP2MCP = force_location(relations_locs[0])
NeutralPP2MCP = force_location(relations_locs[1])
if isinstance(relations_locs[0], str):
if root_in_tes:
relations_locs = [
f'{root_in_tes}/{table_loc}'
for table_loc in relations_locs
]
ChargedPP2MCP = force_location(relations_locs[0])
NeutralPP2MCP = force_location(relations_locs[1])
else:
ChargedPP2MCP = relations_locs[0]
NeutralPP2MCP = relations_locs[1]
# Save setup
self.use_best_mcmatch = use_best_mcmatch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment