Index: wflow-py/Sandbox/wflow_mswat.py =================================================================== diff -u -r0040bd54b0f7000f114e1bd023e2a508b5d1a4ba -r3d36073f779f6d9a5a34f6304d8e901b65061154 --- wflow-py/Sandbox/wflow_mswat.py (.../wflow_mswat.py) (revision 0040bd54b0f7000f114e1bd023e2a508b5d1a4ba) +++ wflow-py/Sandbox/wflow_mswat.py (.../wflow_mswat.py) (revision 3d36073f779f6d9a5a34f6304d8e901b65061154) @@ -31,7 +31,8 @@ def usage(*args): sys.stdout = sys.stderr - for msg in args: print(msg) + for msg in args: + print(msg) print(__doc__) sys.exit(0) @@ -477,19 +478,18 @@ setup needed. """ - 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.warning("Cannot load initial states, setting to default") - for s in self.stateVariables(): - exec("self." + s + " = cover(1.0)") + 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.warning("Cannot load initial states, setting to default") + for s in self.stateVariables(): + exec("self." + s + " = cover(1.0)") - - def default_summarymaps(self): - """ + def default_summarymaps(self): + """ *Optional* Return a default list of variables to report as summary maps in the outsum dir.