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

removed new method since I just need to use the Superclass one

parent 1e61cae2
......@@ -24,8 +24,7 @@ Bio::EnsEMBL::Hive::DBSQL::DBAdaptor
=head1 DESCRIPTION
This object represents the handle for a comparative DNA alignment database
This object represents the handle for a Hive system enabled database
=head1 CONTACT
......@@ -48,24 +47,6 @@ use Bio::EnsEMBL::DBSQL::DBAdaptor;
@ISA = qw( Bio::EnsEMBL::DBSQL::DBAdaptor );
sub new {
my ($class, @args) = @_;
#call superclass constructor; this may actually return a container
my $container = $class->SUPER::new(@args);
my $self;
if($container->isa('Bio::EnsEMBL::Container')) {
$self = $container->_obj;
} else {
$self = $container;
}
#we want to return the container not the contained object
return $container;
}
sub get_AnalysisAdaptor {
my $self = shift;
return $self->_get_adaptor("Bio::EnsEMBL::DBSQL::AnalysisAdaptor" );
......
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