Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
b09454db
Commit
b09454db
authored
6 years ago
by
Marek Szuba
Browse files
Options
Downloads
Patches
Plain Diff
MicroRNA: use Bio::EnsEMBL::Utils::Exception::warning() instead of carp()
parent
bc9cf2c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!371
Add support for mature RNA products of transcripts (e.g. MicroRNA) to the API and schema
,
!371
Add support for mature RNA products of transcripts (e.g. MicroRNA) to the API and schema
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/MicroRNA.pm
+3
-3
3 additions, 3 deletions
modules/Bio/EnsEMBL/MicroRNA.pm
with
3 additions
and
3 deletions
modules/Bio/EnsEMBL/MicroRNA.pm
+
3
−
3
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
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment