Skip to content
Snippets Groups Projects
Commit 270c875f authored by Magali Ruffier's avatar Magali Ruffier
Browse files

new add_DBAdaptor method for EQTL usage

parent 520dadd1
No related branches found
No related tags found
No related merge requests found
......@@ -522,6 +522,13 @@ sub get_DBAdaptor {
return $self->{db_adaptors}->{$type};
}
sub add_DBAdaptor {
my ($self, $type, $adaptor) = @_;
die "No type specified" if ! $type;
$self->{db_adaptors}->{$type} = $adaptor;
return;
}
=head2 hide
Arg [1] : string $dbtype
......
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