From 89ee7b983a96afd8ca3fb111759bdf8637f1f9c7 Mon Sep 17 00:00:00 2001 From: Leo Gordon <lg4@ebi.ac.uk> Date: Fri, 13 Jun 2014 10:39:09 +0100 Subject: [PATCH] bugfix [to 6d6edeb] : make sure resource_class/resource_class_id is properly autoloaded in Worker --- modules/Bio/EnsEMBL/Hive/Worker.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/Bio/EnsEMBL/Hive/Worker.pm b/modules/Bio/EnsEMBL/Hive/Worker.pm index 87a784f96..d8987a57a 100644 --- a/modules/Bio/EnsEMBL/Hive/Worker.pm +++ b/modules/Bio/EnsEMBL/Hive/Worker.pm @@ -90,6 +90,13 @@ use Bio::EnsEMBL::Hive::Utils ('stringify', 'throw'); use base ( 'Bio::EnsEMBL::Hive::Storable' ); +=head1 AUTOLOADED + + resource_class_id / resource_class + +=cut + + sub init { my $self = shift; @@ -133,13 +140,6 @@ sub process_id { } -sub resource_class_id { - my $self = shift; - $self->{'_resource_class_id'} = shift if(@_); - return $self->{'_resource_class_id'}; -} - - sub work_done { my $self = shift; $self->{'_work_done'} = shift if(@_); -- GitLab