Class to group info on hypotools for ChainDict
Definition at line 103 of file MenuComponents.py.
◆ __init__()
| MenuComponents.HypoToolConf.__init__ |
( |
| self, |
|
|
| hypoToolGen ) |
Definition at line 105 of file MenuComponents.py.
105 def __init__(self, hypoToolGen):
106 self.hypoToolGen = hypoToolGen
107 self.name=hypoToolGen.__name__
108
◆ confAndCreate()
| 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)
122
123
◆ create()
| 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 )
117
◆ setConf()
| 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
113
◆ chainDict
| MenuComponents.HypoToolConf.chainDict = chainDict |
◆ hypoToolGen
| MenuComponents.HypoToolConf.hypoToolGen = hypoToolGen |
◆ name
| MenuComponents.HypoToolConf.name = hypoToolGen.__name__ |
The documentation for this class was generated from the following file: