Ignore:
Timestamp:
Jul 9, 2018 3:09:50 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, 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
Children:
515c23df
Parents:
a36517ad
git-author:
Piotr Rozyczko <rozyczko@…> (07/09/18 03:09:17)
git-committer:
Piotr Rozyczko <rozyczko@…> (07/09/18 03:09:50)
Message:

Minor fixes from pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/MaskEditor.py

    re20870bc r05fa132  
    207207        Respond to changes in masking 
    208208        """ 
    209         # the case of liitle numbers of True points 
     209        # the case of litle numbers of True points 
    210210        if len(mask[mask]) < 10 and self.data is not None: 
    211             self.data.mask = copy.deepcopy(self.mask) 
     211            self.data.mask = copy.deepcopy(self.default_mask) 
    212212        else: 
    213             self.mask = mask 
     213            self.default_mask = mask 
    214214        # make temperary data to plot 
    215215        temp_mask = np.zeros(len(mask)) 
Note: See TracChangeset for help on using the changeset viewer.