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
d2767d8c
Commit
d2767d8c
authored
Mar 11, 2008
by
Andreas Kusalananda Kähäri
Browse files
Add _tables(), _columns(), and _default_where_clause() just as in
RepeatFeature.pm
parent
c808ac31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
modules/Bio/EnsEMBL/Collection/Exon.pm
modules/Bio/EnsEMBL/Collection/Exon.pm
+34
-0
No files found.
modules/Bio/EnsEMBL/Collection/Exon.pm
View file @
d2767d8c
...
...
@@ -35,4 +35,38 @@ sub _create_feature_fast {
return
$feature
;
}
sub
_tables
{
my
(
$this
)
=
@_
;
my
@tables
=
$this
->
SUPER::
_tables
();
if
(
$this
->
_lightweight
()
)
{
return
(
$tables
[
0
]
);
}
return
@tables
;
}
sub
_columns
{
my
(
$this
)
=
@_
;
my
@columns
=
$this
->
SUPER::
_columns
();
if
(
$this
->
_lightweight
()
)
{
@columns
[
5
..
$#columns
]
=
map
(
1
,
5
..
$#columns
);
}
return
@columns
;
}
sub
_default_where_clause
{
my
(
$this
)
=
@_
;
if
(
$this
->
_lightweight
()
)
{
return
'';
}
return
$this
->
SUPER::
_default_where_clause
();
}
1
;
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