Changes in / [827484cf:43a31fd] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fitpage.py
r9e11cf5 rb9a5f0e 1492 1492 after fitting 1493 1493 """ 1494 1495 1494 if self.is_mac: 1496 1495 return … … 1501 1500 for item in self.parameters: 1502 1501 if item[0].IsShown(): 1503 #Skip t he angle parameters if 1D data1502 #Skip t ifhe angle parameters if 1D data 1504 1503 if self.data.__class__.__name__ != "Data2D" and \ 1505 1504 not self.enable2D: … … 1520 1519 for item in self.fittable_param: 1521 1520 if item[0].IsShown(): 1522 #Skip t he angle parameters if 1D data1521 #Skip t ifhe angle parameters if 1D data 1523 1522 if self.data.__class__.__name__ != "Data2D" and \ 1524 1523 not self.enable2D: … … 2077 2076 2078 2077 """ 2079 2080 2078 # make sure stop button to fit button all the time 2081 2079 self._on_fit_complete() … … 2114 2112 i = 0 2115 2113 #Set the panel when fit result are list 2116 2117 2114 for item in self.param_toFit: 2118 2115 if len(item) > 5 and item != None: 2119 2120 2116 if item[0].IsShown(): 2121 2117 ## reset error value to initial state … … 2148 2144 item[3].Show(True) 2149 2145 item[4].Show(True) 2150 item[4].SetForegroundColour(wx.BLACK)2151 item[4].SetValue(val_err)2152 has_error = True2153 else:2154 val_err = 'NaN'2155 if not self.is_mac:2156 item[3].Show(True)2157 item[4].Show(True)2158 item[4].SetForegroundColour(wx.RED)2159 2146 item[4].SetValue(val_err) 2160 2147 has_error = True … … 2844 2831 2845 2832 keys = self.model.getParamList() 2846 2847 #list of dispersion parameters 2833 #list of dispersion paramaters 2848 2834 self.disp_list = self.model.getDispParamList() 2849 2835 … … 2939 2925 CHECK_STATE = self.cb1.GetValue() 2940 2926 for item in keys: 2941 2942 2927 if not item in self.disp_list and not item in \ 2943 2928 self.model.orientation_params:
Note: See TracChangeset
for help on using the changeset viewer.