Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
b09454db
Commit
b09454db
authored
Jul 30, 2018
by
Marek Szuba
Browse files
MicroRNA: use Bio::EnsEMBL::Utils::Exception::warning() instead of carp()
parent
bc9cf2c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/Bio/EnsEMBL/MicroRNA.pm
modules/Bio/EnsEMBL/MicroRNA.pm
+3
-3
No files found.
modules/Bio/EnsEMBL/MicroRNA.pm
View file @
b09454db
...
...
@@ -59,7 +59,7 @@ use vars qw($AUTOLOAD);
use
strict
;
use
warnings
;
use
Bio::EnsEMBL::Utils::
Exception
qw(throw warning )
;
use
Bio::EnsEMBL::Utils::
Exception
qw(
throw warning )
;
use
Bio::EnsEMBL::Utils::
Argument
qw( rearrange )
;
use
Bio::EnsEMBL::Utils::
Scalar
qw( assert_ref wrap_array )
;
use
Scalar::
Util
qw(weaken)
;
...
...
@@ -141,8 +141,8 @@ sub arm {
my
$n_arms
=
scalar
@
{
$arm_attrs
};
if
(
$n_arms
>
0
)
{
if
(
$n_arms
>
1
)
{
c
ar
p
("
MicroRNA
"
.
$self
->
display_id
()
.
"
has multiple arm attributes, using first
");
w
ar
ning
("
MicroRNA
"
.
$self
->
display_id
()
.
"
has multiple arm attributes, using first
");
}
$self
->
{'
arm
'}
=
$arm_attrs
->
[
0
]
->
value
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment