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


Ignore:
Timestamp:
Apr 7, 2017 1:33:11 AM (7 years ago)
Author:
GitHub <noreply@…>
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:
861f1880
Parents:
87d44c7 (diff), c1d5aea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (04/07/17 01:33:11)
git-committer:
GitHub <noreply@…> (04/07/17 01:33:11)
Message:

Merge pull request #65 from andyfaff/not_is

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.