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
d169fd59
Commit
d169fd59
authored
Jul 16, 2008
by
Ian Longden
Browse files
fix for attribute seq edits
parent
346a350f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/Bio/EnsEMBL/Transcript.pm
modules/Bio/EnsEMBL/Transcript.pm
+3
-5
No files found.
modules/Bio/EnsEMBL/Transcript.pm
View file @
d169fd59
...
...
@@ -978,11 +978,8 @@ sub get_all_Attributes {
}
if
(
defined
$attrib_code
)
{
my
@results
;
if
(
defined
$_
){
@results
=
grep
{
uc
(
$_
->
code
())
eq
uc
(
$attrib_code
)
}
my
@results
=
grep
{
uc
(
$_
->
code
())
eq
uc
(
$attrib_code
)
}
@
{
$self
->
{'
attributes
'}};
}
return
\
@results
;
}
else
{
return
$self
->
{'
attributes
'};
...
...
@@ -1025,6 +1022,7 @@ sub add_Attributes {
}
if
(
$seq_change
){
foreach
my
$ex
(
@
{
$self
->
get_all_Exons
()}){
$ex
->
{'
_trans_exon_array
'}
=
undef
;
$ex
->
{'
_seq_cache
'}
=
undef
;
}
my
$translation
=
$self
->
translation
;
...
...
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