Skip to content
Snippets Groups Projects
Commit be7a7761 authored by Andy Yates's avatar Andy Yates
Browse files

forgot to make it executable

parent c52d4bbb
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env perl
use Bio::EnsEMBL::Registry;
eval {
Bio::EnsEMBL::Registry->load_registry_from_db(
-host => 'ensembldb.ensembl.org',
-user => 'anonymous'
);
my $human = Bio::EnsEMBL::Registry->get_DBAdaptor();
my $name = $human->get_MetaContainer()->get_scientific_name();
if('Homo sapiens' == $name) {
print "Connection to Ensembl works and you can query the human core database\n";
}
};
if($@) {
print "ERROR: Cannot connect to Ensembl!\n";
print "Please send the following error message to helpdesk\@ensembl.org\n";
print $@;
}
\ No newline at end of file
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