Ignore:
Timestamp:
17/01/07 14:52:51 (13 years ago)
Author:
domlowe
Message:

addition of random ids, changes related to xlink and rangeset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmlfileextracts.py

    r2003 r2015  
    4141                    arrayDescriptor=csml.parser.PPExtract() 
    4242                #print self.extractType 
    43                 arrayDescriptor.id=str(self.extractPrefix+allDimNames[j]) 
    44      
     43                rndID=csml.csmllibs.csmlextra.getRandomID() 
     44                #arrayDescriptor.id=str(self.extractPrefix+allDimNames[j]) 
     45                arrayDescriptor.id=str(rndID) 
    4546                #SET variableName attribute of file extract 
    4647                arrayDescriptor.variableName=csml.parser.csString(allDimNames[j]) 
     
    5758    #                   #keep record of extracts/filenames/variables in dictionary 
    5859                idstr = filename + allDimNames[j] 
    59                 self.fileExtractDictionary[idstr] = self.extractPrefix+allDimNames[j] 
     60                self.fileExtractDictionary[idstr] = rndID#self.extractPrefix+allDimNames[j] 
    6061                adlist.append(arrayDescriptor) 
    6162            DI.closeFile()       
Note: See TracChangeset for help on using the changeset viewer.