16 if log.isEnabledFor(logging.DEBUG):
17 log.debug(
'dictionary is: %s\n', pprint.pformat(chainDict))
19 listOfChainDicts = splitChainDict(chainDict)
20 log.debug(
"Implement case for met chain with %d legs ",len(listOfChainDicts))
24 for subChainDict
in listOfChainDicts:
28 listOfChainDefs += [MET]
29 log.debug(
'length of chaindefs %s', len(listOfChainDefs) )
32 if len(listOfChainDefs)>1:
33 log.debug(
"Implement case for mulit-leg met chain")
34 theChainDef = mergeChainDefs(listOfChainDefs, chainDict)
36 theChainDef = listOfChainDefs[0]
38 log.debug(
"theChainDef %s" , theChainDef)