Ejemplo n.º 1
0
    def __init__(self, _path=''):
        RoadRunner.__init__(self)

        # self.sbmlFullPath=_sbmlFullPath
        self.path = _path  # relative path to the SBML model - CC3D uses only relative paths . In some rare cases when users do some hacking they may set self.path to be absolute path.
        self.absPath = ''  # absolute path of the SBML file. Internal use only e.g.  for debugging purposes - and is not serialized
        self.stepSize = 1.0
        self.timeStart = 0.0
        self.timeEnd = 1.0

        self.__state = {}
Ejemplo n.º 2
0
 def __init__(self,_path=''):
     RoadRunner.__init__(self)
     
     # self.sbmlFullPath=_sbmlFullPath
     self.path=_path # relative path to the SBML model - CC3D uses only relative paths . In some rare cases when users do some hacking they may set self.path to be absolute path. 
     self.absPath='' # absolute path of the SBML file. Internal use only e.g.  for debugging purposes - and is not serialized
     self.stepSize=1.0
     self.timeStart=0.0
     self.timeEnd=1.0
     
     self.__state={}
    def __init__(self, _path='', _modelString='', sbml=None):
        if sbml is None:
            RoadRunner.__init__(self)
        else:
            RoadRunner.__init__(self, sbml)

        # self.sbmlFullPath=_sbmlFullPath
        self.path = _path  # relative path to the SBML model - CC3D uses only relative paths . In some rare cases when users do some hacking they may set self.path to be absolute path.
        self.absPath = ''  # absolute path of the SBML file. Internal use only e.g.  for debugging purposes - and is not serialized
        self.modelString = ''  # SBML model string - used when translating model specifications
        self.stepSize = 1.0
        self.timeStart = 0.0
        self.timeEnd = 1.0

        self.__state = {}