Commit 643ac7e4 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: make sure ->to_cmd() method works for non-Hive DBConnections

parent d6950e07
......@@ -75,7 +75,7 @@ sub main {
$dba = $dbas->[0];
}
$dbc = $dba->dbc();
$dbc = bless $dba->dbc, 'Bio::EnsEMBL::Hive::DBSQL::DBConnection';
} elsif($url) {
$dbc = Bio::EnsEMBL::Hive::DBSQL::DBConnection->new( -url => $url );
......
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