Skip to content
Snippets Groups Projects
Commit 7249fa3d authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Add more informative error message.

parent 0c74b2a0
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,7 @@ my %projections_by_evidence_type;
foreach my $to_species (@to_multi) {
my $to_ga = Bio::EnsEMBL::Registry->get_adaptor($to_species, 'core', 'Gene');
die("Can't get gene adaptor for $to_species - check database connection details\n") if (!$to_ga);
my $to_dbea = Bio::EnsEMBL::Registry->get_adaptor($to_species, 'core', 'DBEntry');
write_to_projection_db($to_ga->dbc(), $release, $from_species, $from_ga->dbc(), $to_species) unless ($no_database);
......
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