Changeset 99f3e053 in sasview for src/sas/sasgui/perspectives/fitting
- Timestamp:
- Nov 11, 2016 6:44:40 AM (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:
- f845454
- Parents:
- 3f8c7bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r3f8c7bb r99f3e053 1435 1435 self.qmax_x = tempmax 1436 1436 is_modified = True 1437 is_modified = self._validate_Npts() 1437 if is_2Ddata: 1438 is_modified = self._validate_Npts() 1439 else: 1440 is_modified = self._validate_Npts_1D() 1438 1441 else: 1439 1442 self.fitrange = False … … 2166 2169 flag = False 2167 2170 else: 2168 self.Npts_fit.SetValue(str(len(index_data[index_data is True]))) 2171 val = index_data[index_data is True] 2172 val = len(val) if isinstance(val, list) else 1 2173 self.Npts_fit.SetValue(str(val)) 2169 2174 self.fitrange = True 2170 2175
Note: See TracChangeset
for help on using the changeset viewer.