Changeset 81b35396 in sasview


Ignore:
Timestamp:
Jun 21, 2017 11:35:00 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ba8d326
Parents:
00f7ff1
Message:

remove unused smearer/smear_type from saved state

Location:
src/sas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/pagestate.py

    r00f7ff1 r81b35396  
    7474                            ["cb1", "cb1", "bool"], 
    7575                            ["tcChi", "tcChi", "float"], 
    76                             ["smearer", "smearer", "float"], 
    77                             ["smear_type", "smear_type", "string"], 
    7876                            ["dq_l", "dq_l", "float"], 
    7977                            ["dq_r", "dq_r", "float"], 
     
    210208        # orientation parameters for gaussian dispersity 
    211209        self.orientation_params_disp = [] 
    212         # smearer info 
    213         self.smearer = None 
    214         self.smear_type = None 
    215210        self.dq_l = None 
    216211        self.dq_r = None 
     
    336331        obj.pinhole_smearer = copy.deepcopy(self.pinhole_smearer) 
    337332        obj.slit_smearer = copy.deepcopy(self.slit_smearer) 
    338         obj.smear_type = copy.deepcopy(self.smear_type) 
    339333        obj.dI_noweight = copy.deepcopy(self.dI_noweight) 
    340334        obj.dI_didata = copy.deepcopy(self.dI_didata) 
     
    354348        obj.npts = copy.deepcopy(self.npts) 
    355349        obj.cb1 = copy.deepcopy(self.cb1) 
    356         obj.smearer = copy.deepcopy(self.smearer) 
    357350        obj.version = copy.deepcopy(self.version) 
    358351 
     
    558551        rep += "All parameters checkbox selected: %s\n" % self.cb1 
    559552        rep += "Value of Chisqr : %s\n" % str(self.tcChi) 
    560         rep += "Smear object : %s\n" % self.smearer 
    561         rep += "Smear type : %s\n" % self.smear_type 
    562553        rep += "dq_l  : %s\n" % self.dq_l 
    563554        rep += "dq_r  : %s\n" % self.dq_r 
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r00f7ff1 r81b35396  
    889889            self.state.disable_disp = self.disable_disp.GetValue() 
    890890 
    891         self.state.smearer = copy.deepcopy(self.current_smearer) 
    892891        if hasattr(self, "enable_smearer"): 
    893892            self.state.enable_smearer = \ 
     
    954953            self.state.disable_disp = self.disable_disp.GetValue() 
    955954 
    956         self.state.smearer = copy.deepcopy(self.current_smearer) 
    957955        if hasattr(self, "enable_smearer"): 
    958956            self.state.enable_smearer = \ 
Note: See TracChangeset for help on using the changeset viewer.