Changeset bf44249e in sasview


Ignore:
Timestamp:
Nov 7, 2016 5:34:14 AM (7 years ago)
Author:
wojciech
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
cc0f4a8
Parents:
012e397
Message:

Fixed a few pylint issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    re0d9ed2 rbf44249e  
    8181        flag = check_data_validity(self.data) & (self.model is not None) 
    8282        self.btFit.Enable(flag) 
    83          
     83 
    8484    def on_set_focus(self, event): 
    8585        """ 
    86         Override the basepage focus method to ensure the save flag is set  
     86        Override the basepage focus method to ensure the save flag is set 
    8787        properly when focusing on the fit page. 
    8888        """ 
     
    238238 
    239239        weighting_set_box = wx.StaticBox(self, wx.ID_ANY, 
    240                                 'Set Weighting by Selecting dI Source') 
     240                                         'Set Weighting by Selecting dI Source') 
    241241        weighting_box = wx.StaticBoxSizer(weighting_set_box, wx.HORIZONTAL) 
    242242        sizer_weighting = wx.BoxSizer(wx.HORIZONTAL) 
     
    11641164        if event is not None: 
    11651165            if (event.GetEventObject() == self.formfactorbox 
    1166                         and self.structurebox.GetLabel() != 'None')\ 
    1167                         or event.GetEventObject() == self.structurebox\ 
    1168                         or event.GetEventObject() == self.multifactorbox: 
     1166                    and self.structurebox.GetLabel() != 'None')\ 
     1167                    or event.GetEventObject() == self.structurebox\ 
     1168                    or event.GetEventObject() == self.multifactorbox: 
    11691169                copy_flag = self.get_copy_params() 
    11701170                is_poly_enabled = self.enable_disp.GetValue() 
     
    12291229            # set smearing value whether or not data contain the smearing info 
    12301230            evt = ModelEventbox(model=self.model, 
    1231                             smearer=temp_smear, 
    1232                             enable_smearer=not self.disable_smearer.GetValue(), 
    1233                             qmin=float(self.qmin_x), 
    1234                             uid=self.uid, 
    1235                             caption=self.window_caption, 
    1236                             qmax=float(self.qmax_x)) 
     1231                                smearer=temp_smear, 
     1232                                enable_smearer=not self.disable_smearer.GetValue(), 
     1233                                qmin=float(self.qmin_x), 
     1234                                uid=self.uid, 
     1235                                caption=self.window_caption, 
     1236                                qmax=float(self.qmax_x)) 
    12371237 
    12381238            self._manager._on_model_panel(evt=evt) 
Note: See TracChangeset for help on using the changeset viewer.