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

Better error info.

parent 7989c9b5
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ my %projections_by_source;
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);
die("Can't get gene adaptor for $to_species - check database connection details; if species is new, add alias to Registry.pm\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