Skip to content
Snippets Groups Projects
Unverified Commit 83ff3556 authored by Tiago Grego's avatar Tiago Grego Committed by GitHub
Browse files

Merge pull request #450 from Ensembl/feature/no_try_tiny

Remove Try::Tiny dependency
parents d90e2d95 3612501c
No related branches found
No related tags found
1 merge request!457Patch to support longer assembly names in the mapping session table.
......@@ -4,7 +4,6 @@ requires 'HTTP::Tiny';
requires 'IO::Compress::Gzip';
requires 'URI::Escape';
requires 'Config::IniFiles';
requires 'Try::Tiny';
test_requires 'Test::Warnings';
test_requires 'Test::Differences';
......
......@@ -82,7 +82,7 @@ use Bio::EnsEMBL::Utils::Argument qw(rearrange);
use Bio::EnsEMBL::Utils::Exception qw(throw warning);
use Bio::EnsEMBL::Utils::Scalar qw(check_ref assert_ref);
use Bio::EnsEMBL::Slice;
use Try::Tiny;
use vars qw(@ISA);
use Scalar::Util qw(weaken);
......@@ -1462,7 +1462,7 @@ sub feature_so_acc {
my $so_acc;
# Get the caller class SO acc
try {
eval {
$so_acc = $ref->SEQUENCE_ONTOLOGY->{'acc'};
};
......@@ -1489,7 +1489,7 @@ sub feature_so_term {
my $so_term;
# Get the caller class SO acc
try {
eval {
$so_term = $ref->SEQUENCE_ONTOLOGY->{'term'};
};
......
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