Changeset 0d795bf in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Mar 7, 2013 2:51:21 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
5709051
Parents:
db8fd5b
Message:

more fixes in saving custom slit information

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/basepage.py

    rdb8fd5b r0d795bf  
    13681368                self.smear_slit_height.SetValue(str(self.dxl)) 
    13691369            if self.dxw != None: 
    1370                 self.smear_slit_width.SetValue(str(self.dxw)) 
     1370                self.smear_slit_width.SetValue(str(self.dxw))   
     1371            else: 
     1372                self.smear_slit_width.SetValue('')   
    13711373            self.onSlitSmear(event=None) 
    13721374         
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    rb11e127 r0d795bf  
    24052405            self.smear_slit_height.SetBackgroundColour(wx.WHITE) 
    24062406        except: 
     2407            self.dxl = None 
    24072408            data.dxl = numpy.zeros(data_len) 
    24082409            if self.smear_slit_height.GetValue().lstrip().rstrip() != "": 
     
    24162417            data.dxw = self.dxw * numpy.ones(data_len) 
    24172418        except: 
     2419            self.dxw = None 
    24182420            data.dxw = numpy.zeros(data_len) 
    24192421            if self.smear_slit_width.GetValue().lstrip().rstrip() != "": 
Note: See TracChangeset for help on using the changeset viewer.