|
ensembl-hive
2.7.0
|
Inheritance diagram for Bio::EnsEMBL::Hive::RunnableDB::Dummy:
A job of 'Bio::EnsEMBL::Hive::RunnableDB::Dummy' analysis does not do any work by itself,
but it benefits from the side-effects that are associated with having an analysis.
For example, if a dataflow rule is linked to the analysis then
every job that is created or flown into this analysis will be dataflown further according to this rule.
param('take_time'): How much time to spend sleeping (floating point seconds);
can be given by a runtime-evaluated formula; useful for testing.
| public Bio::EnsEMBL::Hive::RunnableDB::Dummy::fetch_input | ( | ) |
Description : Implements fetch_input() interface method of Bio::EnsEMBL::Hive::Process that is used to read in parameters and load data.
Here we simply override this method so that nothing is done.
Code:
| public Bio::EnsEMBL::Hive::RunnableDB::Dummy::param_defaults | ( | ) |
Description : Implements param_defaults() interface method of Bio::EnsEMBL::Hive::Process that defines module defaults for parameters.
Code:
| public Bio::EnsEMBL::Hive::RunnableDB::Dummy::run | ( | ) |
Description : Implements run() interface method of Bio::EnsEMBL::Hive::Process that is used to perform the main bulk of the job (minus input and output).
Since this Runnable is a Dummy, it does nothing. But it can also optionally sleep for param('take_time') seconds.
Code:
| public Bio::EnsEMBL::Hive::RunnableDB::Dummy::write_output | ( | ) |
Description : Implements write_output() interface method of Bio::EnsEMBL::Hive::Process that is used to deal with job's output after the execution.
Here we simply override this method so that nothing is done.
Code: