[Bio] / KahApp / KahModule.py Repository:
ViewVC logotype

Annotation of /KahApp/KahModule.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (view) (download) (as text)

1 : efrank 1.1
2 :     class KahModule:
3 :     def __init__( self, name ):
4 :     self.__myName = name
5 :     return
6 :    
7 :     def name(self):
8 :     return self.__myName
9 :    
10 :     def config( self, cfg ):
11 :     """
12 :     Do configuration. At minimum, register any needed
13 :     configuration parameters with the KahConfigSection
14 :    
15 :     @type cfg: KahConfigSection
16 :     @rtype: none
17 :     """
18 :    
19 :     return
20 :    
21 : efrank 1.2 def process( self, aModel, recoElem, cfg ):
22 : efrank 1.1 """
23 : efrank 1.2 Do processing. We want to end up just passing a Model in, but
24 :     for now we pass in recoElem. This is a recoElem in aModel. This
25 :     supports the modelEditor calling tools to act on a specific recoElem.
26 :     I'd like this to change.
27 :    
28 : efrank 1.1 Cfg holds config params.
29 :    
30 : efrank 1.2 @type aModel: KahOM.Model
31 : efrank 1.1 @type recoElem: RecoElem
32 :     @type cfg: KahConfigSection
33 :     @rtype: none
34 :     """
35 :    
36 :     return
37 :    
38 :     def finish( self, cfg ):
39 :     """
40 :     Done processing: do final computations.
41 :     @type cfg: KahConfigSection
42 :     @rtype: none
43 :     """
44 :    
45 :     return

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3