Diff for /ECHO_content/ECHO_collection.py between versions 1.4 and 1.5

version 1.4, 2003/12/09 14:29:53 version 1.5, 2003/12/10 10:53:55
Line 90  def readMetadata(url): Line 90  def readMetadata(url):
     return metadict,""      return metadict,""
           
   
 def setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coords):  def setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coordstrs):
   
         """Allegemeine Informationen zu einer ECHO Collection"""          """Allegemeine Informationen zu einer ECHO Collection"""
   
Line 108  def setECHO_CollectionInformation(self,c Line 108  def setECHO_CollectionInformation(self,c
         self.scientific_Information.scientific_Classification.science=science          self.scientific_Information.scientific_Classification.science=science
         self.scientific_Information.scientific_Classification.practice=practice          self.scientific_Information.scientific_Classification.practice=practice
                   
           coords=[]
         #coordinates of for rectangles          #coordinates of for rectangles
         self.coords=coords          for coordstr in coordstrs:
               
               temco=coordstr.split(",")
               #temco.append(angle)
               coords.append(temco)
           self.coords=coords[0:]
                           
   
 class scientificClassification(SimpleItem,Persistent,Implicit):  class scientificClassification(SimpleItem,Persistent,Implicit):

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>