Package gui :: Package analyses :: Module execute :: Class Execute
[hide private]
[frames] | no frames]

Class Execute

source code


The analysis execution object.

Instance Methods [hide private]
 
__init__(self, gui, data, data_index, thread=True)
Set up the analysis execution object.
source code
 
_join(self)
Dummy join() method for non-threaded execution.
source code
 
_start(self)
Replacement start() method for when execution is not threaded.
source code
 
run(self)
Execute the thread (or pseudo-thread).
source code
 
run_analysis(self)
Execute the analysis
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from object: __class__

Method Details [hide private]

__init__(self, gui, data, data_index, thread=True)
(Constructor)

source code 

Set up the analysis execution object.

Parameters:
  • gui (wx object) - The GUI object.
  • data (class instance) - The data container with all data for the analysis.
  • data_index (int) - The index of the analysis in the relax data store.
  • thread (bool) - The flag for turning threading on and off.
Overrides: object.__init__

run(self)

source code 

Execute the thread (or pseudo-thread).

Overrides: threading.Thread.run

run_analysis(self)

source code 

Execute the analysis

This method must be overridden.