Class to group info on hypotools for ChainDict
Definition at line 104 of file MenuComponents.py.
◆ __init__()
def MenuComponents.HypoToolConf.__init__ |
( |
|
self, |
|
|
|
hypoToolGen |
|
) |
| |
Definition at line 106 of file MenuComponents.py.
107 self.hypoToolGen = hypoToolGen
108 self.name=hypoToolGen.__name__
◆ confAndCreate()
def MenuComponents.HypoToolConf.confAndCreate |
( |
|
self, |
|
|
|
flags, |
|
|
|
chainDict |
|
) |
| |
sets the configuration and creates instance of the hypo tool
Definition at line 119 of file MenuComponents.py.
119 def confAndCreate(self, flags, chainDict):
120 """sets the configuration and creates instance of the hypo tool"""
121 self.setConf(chainDict)
122 return self.create(flags)
◆ create()
def MenuComponents.HypoToolConf.create |
( |
|
self, |
|
|
|
flags |
|
) |
| |
creates instance of the hypo tool
Definition at line 115 of file MenuComponents.py.
115 def create(self, flags):
116 """creates instance of the hypo tool"""
117 return self.hypoToolGen( flags, self.chainDict )
◆ setConf()
def MenuComponents.HypoToolConf.setConf |
( |
|
self, |
|
|
|
chainDict |
|
) |
| |
Definition at line 110 of file MenuComponents.py.
110 def setConf( self, chainDict):
111 if type(chainDict)
is not dict:
112 raise RuntimeError(
"Configuring hypo with %s, not good anymore, use chainDict" %
str(chainDict) )
113 self.chainDict = chainDict
◆ chainDict
MenuComponents.HypoToolConf.chainDict |
◆ hypoToolGen
MenuComponents.HypoToolConf.hypoToolGen |
◆ name
MenuComponents.HypoToolConf.name |
The documentation for this class was generated from the following file: