Changeset 6f7f652 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
- Timestamp:
- Mar 1, 2017 8:16:45 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:
- 86f88d1
- Parents:
- 68c96d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r68c96d3 r6f7f652 1 1 import sys 2 import numpy 2 3 3 4 from PyQt4 import QtCore … … 83 84 available_tabs = list(map(lambda tab:tab.acceptsData(), self.tabs)) 84 85 85 if True in available_tabs:86 if numpy.any(available_tabs): 86 87 self.tabs[available_tabs.index(True)].data = data_item 87 88 else:
Note: See TracChangeset
for help on using the changeset viewer.