Index: wflow-py/wflow/wflow_sceleton.py =================================================================== diff -u -r064a25b54789c9e54f577fa4ba105127103ef9f6 -rd5e1def9ab764a1b06573bcb9bba123c996b1f23 --- wflow-py/wflow/wflow_sceleton.py (.../wflow_sceleton.py) (revision 064a25b54789c9e54f577fa4ba105127103ef9f6) +++ wflow-py/wflow/wflow_sceleton.py (.../wflow_sceleton.py) (revision d5e1def9ab764a1b06573bcb9bba123c996b1f23) @@ -177,12 +177,18 @@ self.logger.info("Reading initial conditions...") #: It is advised to use the wf_resume() function #: here which pick up the variable save by a call to wf_suspend() - try: - self.wf_resume(self.Dir + "/instate/") - except: - self.logger.warn("Cannot load initial states, setting to default") + + if self.reinit: + self.logger.warn("Setting initial states to default") for s in self.stateVariables(): exec "self." + s + " = cover(1.0)" + else: + try: + self.wf_resume(self.Dir + "/instate/") + except: + self.logger.warn("Cannot load initial states, setting to default") + for s in self.stateVariables(): + exec "self." + s + " = cover(1.0)" def default_summarymaps(self):