Changeset 1dd00f4 in sasview for sansview/perspectives/fitting
- Timestamp:
- Jun 13, 2011 9:13:09 AM (14 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cdb042d
- Parents:
- d7e9792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rcfbd06a r1dd00f4 1303 1303 continue 1304 1304 ## hide statictext +/- 1305 if len(item) < 4 : 1306 continue 1305 1307 if item[3]!=None and item[3].IsShown(): 1306 1308 item[3].Hide() … … 1317 1319 continue 1318 1320 if item in self.param_toFit: 1321 continue 1322 if len(item) < 4 : 1319 1323 continue 1320 1324 ## hide statictext +/- … … 1797 1801 1798 1802 #Hide error title 1799 if self.text2_3.IsShown():1800 self.text2_3.Hide()1803 #if self.text2_3.IsShown(): 1804 # self.text2_3.Hide() 1801 1805 1802 1806 try: 1803 1807 if self.enable_disp.GetValue(): 1804 1808 if hasattr(self,"text_disp_1" ): 1805 if self.text_disp_1 != None :1809 if self.text_disp_1 != None and self.text_disp_1.IsShown(): 1806 1810 self.text_disp_1.Hide() 1807 1811 except: … … 1847 1851 break 1848 1852 if len(out)<=len(self.param_toFit) and out[ind] !=None: 1849 val_out = format_number(out[ind], True) 1850 item[2].SetValue(val_out) 1853 val_out = format_number(out[ind], True) 1854 if numpy.isfinite(val_out): 1855 item[2].SetValue(val_out) 1856 1851 1857 1852 1858 if(cov !=None): … … 1866 1872 val_err = format_number(cov[ind], True) 1867 1873 item[3].Show(True) 1874 item[4].SetValue(val_err) 1868 1875 item[4].Show(True) 1869 item[4].SetValue(val_err)1870 1876 1871 1877 has_error = True
Note: See TracChangeset
for help on using the changeset viewer.