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
6745900a
Commit
6745900a
authored
Feb 04, 2010
by
Andreas Kusalananda Kähäri
Browse files
BUGFIX: In transform(): $self->project() returns a listref.
parent
54fb4327
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/Bio/EnsEMBL/Transcript.pm
modules/Bio/EnsEMBL/Transcript.pm
+6
-4
No files found.
modules/Bio/EnsEMBL/Transcript.pm
View file @
6745900a
...
...
@@ -1855,12 +1855,14 @@ sub transform {
return
$self
->
transfer
(
$new_ex
->
slice
);
}
my
$new_transcript
=
$self
->
SUPER::
transform
(
@
_
);
if
(
!
defined
$new_transcript
)
{
my
@segments
=
$self
->
project
(
@
_
);
my
$new_transcript
=
$self
->
SUPER::
transform
(
@
_
);
if
(
!
defined
(
$new_transcript
)
)
{
my
@segments
=
@
{
$self
->
project
(
@
_
)
}
;
# if it projects, maybe the exons transform well?
# lazy load them here
return
undef
if
(
!
@segments
);
if
(
!
@segments
)
{
return
undef
;
}
$self
->
get_all_Exons
();
}
...
...
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