Changeset 0c2c324 in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Mar 21, 2016 9:04:45 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- fd82d9b
- Parents:
- c812d11
- git-author:
- Jeff Krzywon <krzywon@…> (03/21/16 08:58:25)
- git-committer:
- Jeff Krzywon <krzywon@…> (03/21/16 09:04:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/resultpanel.py
rd85c194 r0c2c324 9 9 import wx.lib.newevent 10 10 from wx.aui import AuiNotebook as Notebook 11 12 import datetime 11 13 12 14 from bumps.gui.convergence_view import ConvergenceView … … 56 58 57 59 def on_plot_results(self, event): 58 self.frame.Show( )60 self.frame.Show(True) 59 61 result = event.result[0][0] 62 filename = result.data.sas_data.filename 63 current_time = datetime.datetime.now().strftime("%I:%M%p, %B %d, %Y") 64 self.parent.SetTitle(self.window_name + " - " + filename + " - " + current_time) 60 65 if hasattr(result, 'convergence'): 61 66 best, pop = result.convergence[:, 0], result.convergence[:, 1:]
Note: See TracChangeset
for help on using the changeset viewer.