Changeset 16099


Ignore:
Timestamp:
09/06/13 13:00:13 (12 years ago)
Author:
Eric.Larour
Message:

CHG: fixed issue with locating the python database files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/organizer.py

    r15493 r16099  
    9696                if not isinstance(string,(str,unicode)):
    9797                        raise TypeError("argument provided is not a string")
    98                 path=os.path.join(self.repository,self.prefix+string)
     98                path=os.path.join(self.repository,self.prefix+'.step#'+string+'.db')
    9999
    100100                #figure out if the model is there, otherwise, we have to use the default path supplied by user.
     
    157157                        raise RuntimeError("Cannot save model because organizer (org) is not up to date!")
    158158
    159                 name=os.path.join(self.repository,self.prefix+self.steps[self._currentstep-1]['string'])
     159                name=os.path.join(self.repository,self.prefix+'.step#'+self.steps[self._currentstep-1]['string'])
    160160                print "saving model as: '%s'" % name
    161161
Note: See TracChangeset for help on using the changeset viewer.