Changeset cc0948c in sasview for src


Ignore:
Timestamp:
Apr 16, 2017 9:15:13 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:
140159c
Parents:
09ca97f
git-author:
Paul Kienzle <pkienzle@…> (04/16/17 09:13:14)
git-committer:
Paul Kienzle <pkienzle@…> (04/16/17 09:15:13)
Message:

linting

File:
1 edited

Legend:

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

    rbe7264f1 rcc0948c  
    17201720        while True: 
    17211721            # Check to see is a manager is running and a calc is running 
    1722             if ((self._manager.calc_1D is not None) and (self._manager.calc_1D.\ 
    1723                 isrunning() == True)) or ((self._manager.calc_2D is not None)\ 
    1724                 and (self._manager.calc_2D.isrunning() == True)): 
    1725                 # If a manager is running a calculation  
     1722            if ((self._manager.calc_1D is not None 
     1723                 and self._manager.calc_1D.isrunning()) or 
     1724                (self._manager.calc_2D is not None 
     1725                 and self._manager.calc_2D.isrunning())): 
     1726                # If a manager is running a calculation 
    17261727                # then trim the queue 
    17271728                if self.threaded_draw_queue.qsize() > 1: 
     
    17331734                input_variables = threaded_draw_queue.get() 
    17341735                self._draw_model_after(input_variables[0], input_variables[1]) 
    1735                 wx.PostEvent(self._manager.parent, StatusEvent(status =  
    1736                             "Computation is in progress...", type = "progress")) 
     1736                event = StatusEvent(status="Computation is in progress...", 
     1737                                    type="progress") 
     1738                wx.PostEvent(self._manager.parent, event) 
    17371739                threaded_draw_queue.task_done() 
    17381740 
Note: See TracChangeset for help on using the changeset viewer.