Raw content of Bio::EnsEMBL::Compara::RunnableDB::Dummy # # You may distribute this module under the same terms as perl itself # # POD documentation - main docs before the code =pod =head1 NAME Bio::EnsEMBL::Compara::RunnableDB::Dummy =cut =head1 SYNOPSIS my $db = Bio::EnsEMBL::Compara::DBAdaptor->new($locator); my $repmask = Bio::EnsEMBL::Compara::RunnableDB::Dummy->new ( -db => $db, -input_id => $input_id -analysis => $analysis ); $repmask->fetch_input(); #reads from DB $repmask->run(); $repmask->output(); $repmask->write_output(); #writes to DB =cut =head1 DESCRIPTION This object is used as a place holder in the hive system. It does nothing, but is needed so that a Worker can grab a job, pass the input through to output, and create the next layer of jobs in the system. =cut =head1 CONTACT jessica@ebi.ac.uk =cut =head1 APPENDIX The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ =cut package Bio::EnsEMBL::Compara::RunnableDB::Dummy; use strict; use Bio::EnsEMBL::Hive::Process; our @ISA = qw(Bio::EnsEMBL::Hive::Process); ############################################################## # # override inherited fetch_input, run, write_output methods # so that nothing is done # ############################################################## sub fetch_input { my $self = shift; $self->db->dbc->disconnect_when_inactive(0); return 1; } sub run { my $self = shift; return 1; } sub write_output { my $self = shift; return 1; } 1;