Class to group info on hypotools for ChainDict
Definition at line 103 of file MenuComponents.py.
◆ __init__()
def MenuComponents.HypoToolConf.__init__ |
( |
|
self, |
|
|
|
hypoToolGen |
|
) |
| |
Definition at line 105 of file MenuComponents.py.
106 self.hypoToolGen = hypoToolGen
107 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 118 of file MenuComponents.py.
118 def confAndCreate(self, flags, chainDict):
119 """sets the configuration and creates instance of the hypo tool"""
120 self.setConf(chainDict)
121 return self.create(flags)
◆ create()
def MenuComponents.HypoToolConf.create |
( |
|
self, |
|
|
|
flags |
|
) |
| |
creates instance of the hypo tool
Definition at line 114 of file MenuComponents.py.
114 def create(self, flags):
115 """creates instance of the hypo tool"""
116 return self.hypoToolGen( flags, self.chainDict )
◆ setConf()
def MenuComponents.HypoToolConf.setConf |
( |
|
self, |
|
|
|
chainDict |
|
) |
| |
Definition at line 109 of file MenuComponents.py.
109 def setConf( self, chainDict):
110 if type(chainDict)
is not dict:
111 raise RuntimeError(
"Configuring hypo with %s, not good anymore, use chainDict" %
str(chainDict) )
112 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: