Changeset 7d514fc in sasview for fittingview/src
- Timestamp:
- May 24, 2012 4:40:45 PM (12 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:
- f71625f
- Parents:
- 7b7ff27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
r7b7ff27 r7d514fc 100 100 self.dx_min = None 101 101 self.dx_max = None 102 ##semar attr s102 ##semar attrbs 103 103 self.enable_smearer = None 104 104 self.disable_smearer = None 105 105 self.pinhole_smearer = None 106 106 self.slit_smearer = None 107 ##weigth attr s107 ##weigth attrbs 108 108 self.dI_noweight = None 109 109 self.dI_didata = None 110 110 self.dI_sqrdata = None 111 111 self.dI_idata = None 112 ##other attrbs 113 self.dq_l = None 114 self.dq_r = None 115 self.tcChi = None 116 self.disp_box = None 117 self.Npts_fit = None 118 self.theory_qmin = None 119 self.theory_qmax = None 112 120 113 121 self.disp_cb_dict = {} … … 963 971 self.state.dI_sqrdata = copy.deepcopy(self.dI_sqrdata.GetValue()) 964 972 self.state.dI_idata = copy.deepcopy(self.dI_idata.GetValue()) 965 if hasattr(self, "disp_box") :973 if hasattr(self, "disp_box") and self.disp_box != None: 966 974 self.state.disp_box = self.disp_box.GetCurrentSelection() 967 975 … … 1065 1073 self.disable_disp.SetValue(state.disable_disp) 1066 1074 1067 if hasattr(self, "disp_box") :1075 if hasattr(self, "disp_box") and self.disp_box != None: 1068 1076 self.disp_box.SetSelection(state.disp_box) 1069 1077 n = self.disp_box.GetCurrentSelection()
Note: See TracChangeset
for help on using the changeset viewer.