Changeset 1433


Ignore:
Timestamp:
22/08/06 09:58:30 (13 years ago)
Author:
domlowe
Message:

fixing init method in ParametrisedPhenomenon class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/parser/Parser.py

    r1370 r1433  
    28832883         + href[0..1]:anyURI 
    28842884    """ 
    2885     def __init__(self,*args,**kwargs): 
     2885    def __init__(self,basePhenomenon=None,constraint=None,*args,**kwargs): 
    28862886        Phenomenon.__init__(self,*args,**kwargs) 
     2887        if basePhenomenon: 
     2888            self.basePhenomenon=basePhenomenon 
     2889        if constraint: 
     2890            self.constraint=constraint 
    28872891    def fromXML(self,csmlFrag): 
    28882892        Phenomenon.fromXML(self,csmlFrag) 
Note: See TracChangeset for help on using the changeset viewer.