Ignore:
Timestamp:
04/02/07 20:30:18 (13 years ago)
Author:
lawrence
Message:

Support for paleo keywords in DIF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/DIF.py

    r2098 r2104  
    9595            helper.getText(self.tree,'Data_Set_Progress') ) 
    9696        self.timeCoverage=TimeCoverage(tc) 
     97         
     98        #load up those silly paleo keywords 
     99        self.paleoKeywords=[] 
     100        paleoElements=helper.findall(self.tree,'Paleo_Temporal_Coverage') 
     101        for e in paleoElements: 
     102            self.paleoKeywords.append(helper.getText(e,'Chronostratigraphic_Unit')) 
    97103             
    98104        #Data curator information 
Note: See TracChangeset for help on using the changeset viewer.