Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
bf4e040c
Commit
bf4e040c
authored
Jul 10, 2006
by
Leo Gordon
Browse files
be laconic :)
parent
79d8611c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+2
-3
No files found.
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
bf4e040c
...
...
@@ -618,7 +618,7 @@ sub serverroot {
sub
get_database
{
my
$self
=
shift
;
my
$database
=
shift
or
throw
("
You must provide a database
");
my
$prefix
=
shift
;
my
$prefix
=
shift
||
''
;
$self
->
check_required_params
(
"
${prefix}
host
",
"
${prefix}
port
",
...
...
@@ -635,8 +635,7 @@ sub get_database {
vega
=>
'
Bio::Otter::DBSQL::DBAdaptor
',
compara
=>
'
Bio::EnsEMBL::DBSQL::DBAdaptor
',
);
my
%valid
=
map
{
$_
=>
1
}
keys
%adaptors
;
throw
("
Unknown database:
$database
")
unless
$valid
{
$database
};
throw
("
Unknown database:
$database
")
unless
$adaptors
{
$database
};
$self
->
dynamic_use
(
$adaptors
{
$database
});
my
$dba
=
$adaptors
{
$database
}
->
new
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment