Changeset c1d5aea in sasview for src/sas/sasgui/perspectives/pr


Ignore:
Timestamp:
Apr 6, 2017 10:13:51 PM (7 years ago)
Author:
andyfaff
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
7b15990
Parents:
ec8886e
Message:

MAINT: use 'x is not None', instead of 'not x is None'.

Location:
src/sas/sasgui/perspectives/pr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/pr/inversion_panel.py

    r463e7ffc rc1d5aea  
    940940        Choose a new input file for I(q) 
    941941        """ 
    942         if not self._manager is None: 
     942        if self._manager is not None: 
    943943            self.plot_data.SetValue(str(data.name)) 
    944944            try: 
  • src/sas/sasgui/perspectives/pr/pr.py

    r9c0f3c17 rc1d5aea  
    10471047        try: 
    10481048            pr = self._create_file_pr(data) 
    1049             if not pr is None: 
     1049            if pr is not None: 
    10501050                self.pr = pr 
    10511051                self.perform_estimate() 
Note: See TracChangeset for help on using the changeset viewer.