Index: wflow-py/wflow/wf_DynamicFramework.py =================================================================== diff -u -r817868557aba868707cbd4f13c39e90b6708d4f1 -rb7f6c4b703a8f7f7bb1551a10f191d9404b34c1e --- wflow-py/wflow/wf_DynamicFramework.py (.../wf_DynamicFramework.py) (revision 817868557aba868707cbd4f13c39e90b6708d4f1) +++ wflow-py/wflow/wf_DynamicFramework.py (.../wf_DynamicFramework.py) (revision b7f6c4b703a8f7f7bb1551a10f191d9404b34c1e) @@ -418,9 +418,9 @@ st = configget(self._userModel().config,'run','starttime',"None") if st == "None": - rinfo = configget(self._userModel().config,'run','runinfo',"None") - rinfo = os.path.join(self._userModel().Dir,rinfo) - if rinfo != "None": + rinfo_str = configget(self._userModel().config,'run','runinfo',"None") + rinfo = os.path.join(self._userModel().Dir,rinfo_str) + if rinfo_str != "None": self.datetime_firststep = getStartTimefromRuninfo(rinfo) self.currentdatetime = self.datetime_firststep self._userModel().currentdatetime = self.currentdatetime @@ -434,7 +434,7 @@ self._userModel()._setFirstTimeStep(self._d_firstTimestep) self._d_lastTimestep = int(nrseconds/self.timestepsecs) else: - self.logger.warn("Not enough information in the [run] section. Need start and end time or a runifo file...") + self.logger.warn("Not enough information in the [run] section. Need start and end time or a runinfo.xml file.... Reverting to default date/time") else: self.datetime_firststep=datetime.datetime.strptime(st, "%Y-%m-%d %H:%M:%S") self.currentdatetime = self.datetime_firststep @@ -451,9 +451,6 @@ self._d_lastTimestep = int(nrseconds/self.timestepsecs) - - - if self.ncfile != "None": mstacks = configsection(self._userModel().config,"inputmapstacks") varlst = []