ensembl-hive-python3  2.8.1
eHive.examples.TestRunnable.TestRunnable Class Reference

Simple Runnable to test as a standaloneJo. More...

+ Inheritance diagram for eHive.examples.TestRunnable.TestRunnable:

Public Member Functions

def param_defaults (self)
 Returns the defaults parameters for this runnable. More...
 
def fetch_input (self)
 
def run (self)
 
def write_output (self)
 
- Public Member Functions inherited from eHive.process.BaseRunnable
def __init__ (self, read_fileno, write_fileno, debug)
 
def warning (self, message, is_error=False)
 Store a message in the log_message table with is_error indicating whether the warning is actually an error or not. More...
 
def dataflow (self, output_ids, branch_name_or_code=1)
 Dataflows the output_id(s) on a given branch (default 1). More...
 
def worker_temp_directory (self)
 Returns the full path of the temporary directory created by the worker. More...
 
def param_required (self, param_name)
 Returns the value of the parameter "param_name" or raises an exception if anything wrong happens or the value is None. More...
 
def param (self, param_name, *args)
 When called as a setter: sets the value of the parameter "param_name". More...
 
def param_exists (self, param_name)
 Returns True if the parameter exists and can be successfully substituted, None if the substitution fails, False if it is missing. More...
 
def param_is_defined (self, param_name)
 Returns True if the parameter exists and can be successfully substituted to a defined value, None if the substitution fails, False if it is missing or evaluates as None. More...
 

Public Attributes

 temp_dir
 
 greeting_path
 
- Public Attributes inherited from eHive.process.BaseRunnable
 debug
 
 input_job
 

Detailed Description

Simple Runnable to test as a standaloneJo.

Definition at line 26 of file TestRunnable.py.

Member Function Documentation

◆ fetch_input()

def eHive.examples.TestRunnable.TestRunnable.fetch_input (   self)

Definition at line 36 of file TestRunnable.py.

+ Here is the call graph for this function:

◆ param_defaults()

def eHive.examples.TestRunnable.TestRunnable.param_defaults (   self)

Returns the defaults parameters for this runnable.

Reimplemented from eHive.process.BaseRunnable.

Definition at line 28 of file TestRunnable.py.

+ Here is the caller graph for this function:

◆ run()

def eHive.examples.TestRunnable.TestRunnable.run (   self)

Definition at line 45 of file TestRunnable.py.

+ Here is the call graph for this function:

◆ write_output()

def eHive.examples.TestRunnable.TestRunnable.write_output (   self)

Definition at line 57 of file TestRunnable.py.

+ Here is the call graph for this function:

Member Data Documentation

◆ greeting_path

eHive.examples.TestRunnable.TestRunnable.greeting_path

Definition at line 54 of file TestRunnable.py.

◆ temp_dir

eHive.examples.TestRunnable.TestRunnable.temp_dir

Definition at line 40 of file TestRunnable.py.


The documentation for this class was generated from the following file: