Skip to content
Snippets Groups Projects
Commit 3d7a4956 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'fixes.TriggerMenuMT-20200730' into 'master'

TriggerMenuMT: Fix some warnings.

See merge request atlas/athena!35264
parents 9f46f2b3 e2e5e070
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ def generateChainConfigs( chainDict ): ...@@ -17,7 +17,7 @@ def generateChainConfigs( chainDict ):
log.debug('dictionary is: %s\n', pprint.pformat(chainDict)) log.debug('dictionary is: %s\n', pprint.pformat(chainDict))
listOfChainDicts = splitChainDict(chainDict) listOfChainDicts = splitChainDict(chainDict)
log.debug("Will generate Config for streamer: ",chainDict['chainName']) log.debug("Will generate Config for streamer: %s", chainDict['chainName'])
listOfChainDefs = [] listOfChainDefs = []
......
...@@ -14,7 +14,7 @@ log.info("Importing %s",__name__) ...@@ -14,7 +14,7 @@ log.info("Importing %s",__name__)
def generateChainConfigs( chainDict ): def generateChainConfigs( chainDict ):
listOfChainDicts = splitChainDict(chainDict) listOfChainDicts = splitChainDict(chainDict)
log.debug("Will generate Config for streamer: ",chainDict['chainName']) log.debug("Will generate Config for streamer: %s", chainDict['chainName'])
listOfChainDefs = [] listOfChainDefs = []
......
...@@ -14,7 +14,7 @@ log.info("Importing %s",__name__) ...@@ -14,7 +14,7 @@ log.info("Importing %s",__name__)
def generateChainConfigs( chainDict ): def generateChainConfigs( chainDict ):
listOfChainDicts = splitChainDict(chainDict) listOfChainDicts = splitChainDict(chainDict)
log.debug("Will generate Config for streamer: ",chainDict['chainName']) log.debug("Will generate Config for streamer: %s", chainDict['chainName'])
listOfChainDefs = [] listOfChainDefs = []
......
...@@ -883,7 +883,16 @@ class ChainStep(object): ...@@ -883,7 +883,16 @@ class ChainStep(object):
if not self.isCombo: if not self.isCombo:
return "--- ChainStep %s ---\n , multiplicity = %d ChainDict = %s \n + MenuSequences = %s "%(self.name, sum(self.multiplicity), ' '.join(map(str, [dic['chainName'] for dic in self.chainDicts])), ' '.join(map(str, [seq.name for seq in self.sequences]) )) return "--- ChainStep %s ---\n , multiplicity = %d ChainDict = %s \n + MenuSequences = %s "%(self.name, sum(self.multiplicity), ' '.join(map(str, [dic['chainName'] for dic in self.chainDicts])), ' '.join(map(str, [seq.name for seq in self.sequences]) ))
else: else:
return "--- ChainStep %s ---\n + isCombo, multiplicity = %d ChainDict = %s \n + MenuSequences = %s \n + ComboHypo = %s, ComboHypoTools = %s"%(self.name, sum(self.multiplicity), ' '.join(map(str, [dic['chainName'] for dic in self.chainDicts])), ' '.join(map(str, [seq.name for seq in self.sequences]) ), self.combo.Alg.name(), ' '.join(map(str, [tool.__name__ for tool in self.comboToolConfs]))) if self.combo:
calg = self.combo.Alg.name()
else:
calg = 'NONE'
return "--- ChainStep %s ---\n + isCombo, multiplicity = %d ChainDict = %s \n + MenuSequences = %s \n + ComboHypo = %s, ComboHypoTools = %s" %\
(self.name, sum(self.multiplicity),
' '.join(map(str, [dic['chainName'] for dic in self.chainDicts])),
' '.join(map(str, [seq.name for seq in self.sequences]) ),
calg,
' '.join(map(str, [tool.__name__ for tool in self.comboToolConfs])))
def createComboAlg(dummyFlags, name, multiplicity, comboHypoCfg): def createComboAlg(dummyFlags, name, multiplicity, comboHypoCfg):
......
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