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

Added warning about using full species in input file, not alias.

parent 5aef9ae5
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,12 @@ while( my $line = <FILE> ) {
push @all_species, $species;
$species = undef;
}
if ($value !~ /_/) {
print STDERR "\'$value\' is not a recognised species - please use full species name (e.g. homo_sapiens) in $file\n";
exit(1);
}
eval "require XrefMapper::$value";
my $module;
if($@) {
......@@ -134,7 +140,6 @@ sub info {
}
sub usage {
my $msg = shift;
......
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