Skip to content
Snippets Groups Projects
Commit e4f105cf authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Made an error message actually print something. Only 6 years late.

parent 78b08204
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,11 @@ sub run {
my $file = @{$files}[0];
my $file_io = $self->get_filehandle($file)
|| ( print( "ERROR: Cannot open $file\n" ) && return 1 );
my $file_io = $self->get_filehandle($file);
unless ($file_io) {
print( "ERROR: Cannot open $file\n" );
return 1 ;
}
my %interpros = %{$self->get_valid_codes("interpro",$species_id)};
......
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