Skip to content
Snippets Groups Projects
Commit f1b85f80 authored by William Keaton Balunas's avatar William Keaton Balunas
Browse files

Add auto-configuration of container names for modifiers to new jet config

parent 31dbaaed
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,14 @@ def expandPrereqs(reqtype,prereqs):
return None
return reqdefs
########################################################################
# For each modifier in the given list with a configurable input container
# name ("JetContainer"), configure it to containerName.
def configureContainerName(modifiers, containerName):
for mod in modifiers:
if "JetContainer" in mod.properties:
mod.JetContainer = output
########################################################################
# Function producing an EventShapeAlg to calculate
......@@ -467,6 +475,7 @@ def getJetRecTool(jetname, finder, pjs, mods):
JetFinder = finder,
JetModifiers = mods
)
configureContainerName(jetrec.JetModifiers, jetname)
return jetrec
......
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