/[ascend]/trunk/pygtk/integrator.py
ViewVC logotype

Diff of /trunk/pygtk/integrator.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 994 by johnpye, Mon Dec 11 14:04:13 2006 UTC revision 995 by johnpye, Sat Dec 23 02:50:31 2006 UTC
# Line 136  class IntegratorWindow: Line 136  class IntegratorWindow:
136                  # continue                  # continue
137    
138          if _ok:          if _ok:
139              _res = self.integrator.analyse()              try:
140              if _res:                                  self.integrator.analyse()
141                  # if we're all ok, create the reporter window and close this one              except RuntimeError,e:
142                  _integratorreporter = IntegratorReporterPython(self.browser,self.integrator)                  self.browser.reporter.reportError(str(e))
143                  self.integrator.setReporter(_integratorreporter)                  return None                        
144                  self.window.destroy()              # if we're all ok, create the reporter window and close this one
145                  return _integratorreporter # means proceed to solve              _integratorreporter = IntegratorReporterPython(self.browser,self.integrator)
146                self.integrator.setReporter(_integratorreporter)
147                self.window.destroy()
148                return _integratorreporter # means proceed to solve
149    
150          self.window.destroy()          self.window.destroy()
151          return None # can't solve          return None # can't solve

Legend:
Removed from v.994  
changed lines
  Added in v.995

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22