Changeset 8bd5840 in sasview
- Timestamp:
- Nov 3, 2016 1:49:00 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3d8c49a
- Parents:
- 20cfa23
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
rc8e1996 r8bd5840 1157 1157 category_pos = int(state.categorycombobox) 1158 1158 except: 1159 import sasmodels.convert as convert 1160 if state.formfactorcombobox is not None: 1161 state.formfactorcombobox, state.parameters = \ 1162 convert.convert_model(state.formfactorcombobox, 1163 state.parameters) 1159 1164 state.formfactorcombobox = state.formfactorcombobox.lower() 1160 1165 state.formfactorcombobox = \ … … 1528 1533 index_data = ((self.qmin_x <= self.data.x) & 1529 1534 (self.data.x <= self.qmax_x)) 1530 val = str(len( self.data.x[index_data is True]))1535 val = str(len([index_data is True])) 1531 1536 self.Npts_fit.SetValue(val) 1532 1537 else:
Note: See TracChangeset
for help on using the changeset viewer.