Changeset b0b09b9 in sasview for src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
- Timestamp:
- Oct 26, 2017 3:13:05 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:
- 895e7359
- Parents:
- def64a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
- Property mode changed from 100644 to 100755
r457d961 rb0b09b9 15 15 16 16 # local 17 from UI.TabbedInvariantUI import Ui_tabbedInvariantUI18 from InvariantDetails import DetailsDialog19 from InvariantUtils import WIDGETS17 from .UI.TabbedInvariantUI import Ui_tabbedInvariantUI 18 from .InvariantDetails import DetailsDialog 19 from .InvariantUtils import WIDGETS 20 20 21 21 # The minimum q-value to be used when extrapolating … … 551 551 if not isinstance(data_item, list): 552 552 msg = "Incorrect type passed to the Invariant Perspective" 553 raise AttributeError , msg553 raise AttributeError(msg) 554 554 555 555 if not isinstance(data_item[0], QtGui.QStandardItem): 556 556 msg = "Incorrect type passed to the Invariant Perspective" 557 raise AttributeError , msg557 raise AttributeError(msg) 558 558 559 559 self._model_item = data_item[0] … … 631 631 self.calculateInvariant() 632 632 except: 633 msg = "Invariant Set_data: " + str(sys.exc_ value)633 msg = "Invariant Set_data: " + str(sys.exc_info()[1]) 634 634 #wx.PostEvent(self.parent, StatusEvent(status=msg, info="error")) 635 635 else:
Note: See TracChangeset
for help on using the changeset viewer.