Changes in / [1b068256:666454e] in sasview
- Location:
- src/sas/sasgui/perspectives
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py
r1cf490b6 r7432acb 18 18 matplotlib.use('WXAgg') 19 19 from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas 20 from matplotlib.backends.backend_wxagg import NavigationToolbar2Wx Aggas Toolbar20 from matplotlib.backends.backend_wxagg import NavigationToolbar2Wx as Toolbar 21 21 from matplotlib.backend_bases import FigureManagerBase 22 22 # Wx-Pylab magic for displaying plots within an application's window. -
src/sas/sasgui/perspectives/fitting/basepage.py
rc192960 r5818dae 1470 1470 # we need to check here ourselves. 1471 1471 if not is_modified: 1472 is_modified = self._check_value_enter(self.fittable_param) 1473 is_modified = self._check_value_enter( 1474 self.fixed_param) or is_modified 1475 is_modified = self._check_value_enter( 1476 self.parameters) or is_modified 1472 is_modified = (self._check_value_enter(self.fittable_param) 1473 or self._check_value_enter(self.fixed_param) 1474 or self._check_value_enter(self.parameters)) 1477 1475 1478 1476 # Here we should check whether the boundaries have been modified. … … 1536 1534 data=[self.data]) 1537 1535 # Check the values 1538 is_modified = self._check_value_enter(self.fittable_param)1539 is_modified = self._check_value_enter(self.fixed_param) or is_modified1540 is_modified = self._check_value_enter(self.parameters) or is_modified1536 is_modified = (self._check_value_enter(self.fittable_param) 1537 or self._check_value_enter(self.fixed_param) 1538 or self._check_value_enter(self.parameters)) 1541 1539 1542 1540 # If qmin and qmax have been modified, update qmin and qmax and … … 2324 2322 2325 2323 # Update value in model if it has changed 2326 if (value != self.model.getParam(name) or 2327 (np.isnan(value) and np.isnan(self.model.getParam(name)))): 2324 if value != self.model.getParam(name): 2328 2325 self.model.setParam(name, value) 2329 2326 is_modified = True
Note: See TracChangeset
for help on using the changeset viewer.