3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger(__name__)
8 __slots__ = [
"algoname",
"outputlines",
"outputbits" ]
9 def __init__(self, algoname, outputlines = None, outputbits = None):
11 if outputlines
and len(outputlines) == 1
and algoname == outputlines[0]:
12 log.info(
"... outputlines can be ommitted for topo algo %s", algoname)
14 if outputlines
is None:
15 outputlines = [ algoname ]
17 if any([
',' in x
for x
in outputlines]):
18 raise RuntimeError(
"One name in these outputlines contains a ',', which is not allowed: %r" % outputlines)
27 return f
"name = {self.algoname}, outputlines = {self.outputlines}, outputbits = {self.outputbits}"
30 return self.
algoname.startswith(
"Mult")