Changeset fa81e94 in sasview for src/sas/sasgui/perspectives/pr/inversion_panel.py
- Timestamp:
- Nov 15, 2017 2:33:09 AM (7 years ago)
- Branches:
- 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
- Children:
- d4881f6a
- Parents:
- 7c487846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/pr/inversion_panel.py
- Property mode changed from 100644 to 100755
rcb62bd5 rfa81e94 12 12 from sas.sasgui.guiframe.events import StatusEvent 13 13 from sas.sasgui.guiframe.panel_base import PanelBase 14 from inversion_state import InversionState15 from pr_widgets import PrTextCtrl16 from pr_widgets import DataFileTextCtrl17 from pr_widgets import OutputTextCtrl14 from .inversion_state import InversionState 15 from .pr_widgets import PrTextCtrl 16 from .pr_widgets import DataFileTextCtrl 17 from .pr_widgets import OutputTextCtrl 18 18 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 19 19 … … 754 754 except: 755 755 # No estimate or bad estimate, either do nothing 756 logger.error("InversionControl._on_accept_alpha: %s" % sys.exc_ value)756 logger.error("InversionControl._on_accept_alpha: %s" % sys.exc_info()[1]) 757 757 758 758 def _on_accept_nterms(self, evt): … … 770 770 except: 771 771 # No estimate or bad estimate, either do nothing 772 logger.error("InversionControl._on_accept_nterms: %s" % sys.exc_ value)772 logger.error("InversionControl._on_accept_nterms: %s" % sys.exc_info()[1]) 773 773 774 774 def clear_panel(self): … … 901 901 message += "than the number of points" 902 902 wx.PostEvent(self._manager.parent, StatusEvent(status=message)) 903 raise ValueError , message903 raise ValueError(message) 904 904 self.nfunc_ctl.SetBackgroundColour(wx.WHITE) 905 905 self.nfunc_ctl.Refresh() … … 957 957 Invoke the d_max exploration dialog 958 958 """ 959 from explore_dialog import ExploreDialog959 from .explore_dialog import ExploreDialog 960 960 if self._manager._last_pr is not None: 961 961 pr = self._manager._create_plot_pr() … … 1009 1009 self._set_analysis(True) 1010 1010 except: 1011 msg = "InversionControl._change_file: %s" % sys.exc_ value1011 msg = "InversionControl._change_file: %s" % sys.exc_info()[1] 1012 1012 logger.error(msg) 1013 1013
Note: See TracChangeset
for help on using the changeset viewer.