Changeset 875f1a2 in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 15, 2009 4:43:37 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:
- 298b762
- Parents:
- dcd330b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r60132ef r875f1a2 600 600 ## set smearing value whether or not the data contain the smearing info 601 601 self.manager.set_smearer(smear, qmin= float(self.qmin_x), 602 qmax= float(self.qmax_x)) 602 qmax= float(self.qmax_x)) 603 ##Calculate chi2 604 self.compute_chisqr() 603 605 ## save the state enable smearing 604 606 self.save_current_state() … … 937 939 ix += 1 938 940 ctl3 = wx.TextCtrl(self, -1, size=(_BOX_WIDTH/2,20), style=wx.TE_PROCESS_ENTER) 939 ctl3.SetValue( param_min)941 ctl3.SetValue(str(param_min)) 940 942 ctl3.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 941 943 ctl3.Bind(wx.EVT_KILL_FOCUS, self._onparamEnter) … … 954 956 ctl4.Bind(wx.EVT_TEXT_ENTER,self._onparamEnter) 955 957 sizer.Add(ctl4, (iy,ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 956 ctl4.SetValue( param_max)958 ctl4.SetValue(str(param_max)) 957 959 ctl4.Hide() 958 960 if self.data.__class__.__name__ =="Data2D":
Note: See TracChangeset
for help on using the changeset viewer.