Changes in src/sas/sasgui/perspectives/fitting/basepage.py [3d8c49a:c8e1996] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r3d8c49a rc8e1996 1157 1157 category_pos = int(state.categorycombobox) 1158 1158 except: 1159 if state.formfactorcombobox is not None: 1160 state._convert_to_sasmodels() 1159 state.formfactorcombobox = state.formfactorcombobox.lower() 1160 state.formfactorcombobox = \ 1161 state.formfactorcombobox.replace('model', '') 1162 state.formfactorcombobox = unicode(state.formfactorcombobox) 1161 1163 state.categorycombobox = unicode(state.categorycombobox) 1162 1164 if state.categorycombobox in self.categorybox.Items: … … 1526 1528 index_data = ((self.qmin_x <= self.data.x) & 1527 1529 (self.data.x <= self.qmax_x)) 1528 val = str(len( [index_data is True]))1530 val = str(len(self.data.x[index_data is True])) 1529 1531 self.Npts_fit.SetValue(val) 1530 1532 else:
Note: See TracChangeset
for help on using the changeset viewer.