Changeset 2872035 in sasview
- Timestamp:
- Apr 20, 2009 2:00:34 PM (16 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:
- 2b8b1a2
- Parents:
- 1c1436d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r1c1436d r2872035 591 591 has_error = False 592 592 self.text2_3.Hide() 593 if hasattr(self,"text_disp_1" ): 594 if self.text_disp_1 !=None: 595 self.text_disp_1.Hide() 593 n = self.disp_box.GetCurrentSelection() 594 dispersity= self.disp_box.GetClientData(n) 595 name= dispersity.__name__ 596 if name == "GaussianDispersion": 597 if hasattr(self,"text_disp_1" ): 598 if self.text_disp_1 !=None: 599 self.text_disp_1.Hide() 596 600 #set the panel when fit result are float not list 597 601 if out.__class__==numpy.float64: … … 603 607 if cov !=None : 604 608 self.text2_3.Show(True) 605 if hasattr(self,"text_disp_1" ): 606 if self.text_disp_1 !=None: 607 self.text_disp_1.Show(True) 609 name= dispersity.__name__ 610 if name == "GaussianDispersion": 611 if hasattr(self,"text_disp_1" ): 612 if self.text_disp_1 !=None: 613 self.text_disp_1.Show(True) 608 614 if cov[0]==None: 609 615 self.param_toFit[0][3].Hide() … … 631 637 if(cov !=None)and len(cov)<=len(self.param_toFit)and i < len(cov): 632 638 self.text2_3.Show(True) 633 if hasattr(self,"text_disp_1" ): 634 if self.text_disp_1!=None: 635 self.text_disp_1.Show(True) 639 name= dispersity.__name__ 640 if name == "GaussianDispersion": 641 if hasattr(self,"text_disp_1" ): 642 if self.text_disp_1!=None: 643 self.text_disp_1.Show(True) 636 644 item[3].Show(True) 637 645 item[4].Clear()
Note: See TracChangeset
for help on using the changeset viewer.