Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
f1016409
Commit
f1016409
authored
Sep 08, 2010
by
Andreas Kusalananda Kähäri
Browse files
In canonical_transcript(): Treat canonical_transcript_id == 0 as no
canonical transcript.
parent
7a7b6ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/Bio/EnsEMBL/Gene.pm
modules/Bio/EnsEMBL/Gene.pm
+2
-1
No files found.
modules/Bio/EnsEMBL/Gene.pm
View file @
f1016409
...
...
@@ -483,7 +483,8 @@ sub canonical_transcript {
$transcript
->
is_canonical
(
1
);
# objects...
}
elsif
(
!
defined
(
$self
->
{'
canonical_transcript
'}
)
&&
defined
(
$self
->
{'
canonical_transcript_id
'}
)
)
&&
defined
(
$self
->
{'
canonical_transcript_id
'}
)
&&
$self
->
{'
canonical_transcript_id
'}
!=
0
)
{
# We have not attached a canoncical transcript, but we have the dbID
# of one.
...
...
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