Commit bcacb2a1 authored by Jessica Severin's avatar Jessica Severin
Browse files

removed global_cleanup from Extensions to RunnableDB. Now RunnableDB subclasses

don't have any ensembl-hive extensions.  To get access to extended hive functionality
one must inherit from Hive::Process.  A multiple inheritance is allowed like:
  our @ISA = qw( Bio::EnsEMBL::Hive::Process Bio::EnsEMBL::Pipeline::RunnableDB );
parent c8c45241
......@@ -195,23 +195,6 @@ sub Bio::EnsEMBL::Analysis::stats
# Bio::EnsEMBL::Pipeline::RunnableDB
#######################################
=head2 Bio::EnsEMBL::Pipeline::RunnableDB::global_cleanup
Arg [1] : none
Description: method which user RunnableDB can override if it needs to clean up
any 'global within worker run time' files or data.
Returntype : 1
Exceptions : none
Caller : Bio::EnsEMBL::Hive::Worker
=cut
sub Bio::EnsEMBL::Pipeline::RunnableDB::global_cleanup
{
my $self = shift;
return 1;
}
sub Bio::EnsEMBL::Pipeline::RunnableDB::debug {
my $self = shift;
$self->{'_debug'} = shift if(@_);
......@@ -224,12 +207,6 @@ sub Bio::EnsEMBL::Pipeline::RunnableDB::debug {
# Bio::EnsEMBL::Analysis::RunnableDB
#######################################
sub Bio::EnsEMBL::Analysis::RunnableDB::global_cleanup
{
my $self = shift;
return 1;
}
sub Bio::EnsEMBL::Analysis::RunnableDB::debug {
my $self = shift;
$self->{'_debug'} = shift if(@_);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment