Ignore:
Timestamp:
Apr 7, 2017 9:47:29 AM (7 years ago)
Author:
Tim Snow <tim.snow@…>
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:
131791e
Parents:
d6353fb
Message:

PEP-8 Compliance

Tiding up code ready for the pull request.

File:
1 edited

Legend:

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

    rd6353fb r4b402a1  
    245245        self.threadedDrawQueue = Queue() 
    246246 
    247         self.threadedDrawWorker = Thread(target = self._threaded_draw_worker, args = (self.threadedDrawQueue,)) 
     247        self.threadedDrawWorker = Thread(target = self._threaded_draw_worker, 
     248                                         args = (self.threadedDrawQueue,)) 
    248249        self.threadedDrawWorker.setDaemon(True) 
    249250        self.threadedDrawWorker.start() 
     
    17211722        while True: 
    17221723            # Check to see is a manager is running and a calc is running 
    1723             if ((self._manager.calc_1D is not None) and (self._manager.calc_1D.isrunning() == True)) or ((self._manager.calc_2D is not None) and (self._manager.calc_2D.isrunning() == True)): 
     1724            if ((self._manager.calc_1D is not None) and (self._manager.calc_1D.\ 
     1725                isrunning() == True)) or ((self._manager.calc_2D is not None)\ 
     1726                and (self._manager.calc_2D.isrunning() == True)): 
    17241727                # If a manager is running a calculation  
    17251728                # then trim the queue 
     
    17351738                inputVariables = threadedDrawQueue.get() 
    17361739                self._draw_model_after(inputVariables[0], inputVariables[1]) 
    1737                 wx.PostEvent(self._manager.parent, StatusEvent(status="Computation is in progress...", type = "progress")) 
     1740                wx.PostEvent(self._manager.parent, StatusEvent(status =  
     1741                            "Computation is in progress...", type = "progress")) 
    17381742                threadedDrawQueue.task_done() 
    17391743                print 'run'                 
Note: See TracChangeset for help on using the changeset viewer.