Skip to content
Snippets Groups Projects

Don't use Try::Tiny as it doesn't work with BigFile code on web

Closed Marek Szuba requested to merge github/fork/ens-ap5/release/96 into release/96
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -41,7 +41,6 @@ use strict;
use warnings;
use Carp;
use Try::Tiny;
use Bio::EnsEMBL::IO::Utils;
=head2 new
@@ -297,9 +296,10 @@ sub _open_as {
my $class = 'Bio::EnsEMBL::IO::Parser::'.$subclass;
my $object;
try {
$object = $class->$method(@other_args);
};
eval "require $class";
unless ($@) {
$object = eval { $class->$method(@other_args); };
}
return $object;
}