Changeset 1652


Ignore:
Timestamp:
30/10/06 15:17:33 (13 years ago)
Author:
domlowe
Message:

moved create classes call to init

Location:
TI02-CSML/trunk/csml2MolesStuff
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml2MolesStuff/csml2moles.py

    r1651 r1652  
    122122    # MOLES skeleton document: 
    123123    M=MRW.MolesDoc() 
    124     M._createClasses() 
    125124     
    126125    #set up coverage envelope aggragator with envelope from first file: 
  • TI02-CSML/trunk/csml2MolesStuff/molesReadWrite.py

    r1651 r1652  
    4444        if children!=[]: 
    4545            for child in children: 
    46                 print child 
    4746                if child.getchildren()!=[]: 
    4847                    newClass=type(child.tag, (molesElement,),{}) 
     
    6968class MolesDoc(object): 
    7069    def __init__(self): 
    71         pass 
     70        self._createClasses() 
    7271     
    7372    def _create_a_class(self,name, base_class): 
Note: See TracChangeset for help on using the changeset viewer.