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
2bfed77a
Commit
2bfed77a
authored
21 years ago
by
Graham McVicker
Browse files
Options
Downloads
Patches
Plain Diff
$keep_all flag is no longer an argument to _objs_from_sth
parent
2a108b17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/DBSQL/AssemblyExceptionFeatureAdaptor.pm
+7
-5
7 additions, 5 deletions
modules/Bio/EnsEMBL/DBSQL/AssemblyExceptionFeatureAdaptor.pm
with
7 additions
and
5 deletions
modules/Bio/EnsEMBL/DBSQL/AssemblyExceptionFeatureAdaptor.pm
+
7
−
5
View file @
2bfed77a
...
...
@@ -50,9 +50,9 @@ use Bio::EnsEMBL::Utils::Exception qw(throw warning);
as they are retrieved from the database
Arg [3] : (optional) Bio::EnsEMBL::Slice $slice
A slice that features should be remapped to
Arg [4] : (optional)
boolean $keep_all
Set to 1 if all features, even ones entirely off slice,
should be kept
Arg [4] : (optional)
hashref $options
Hashref of options flags passed on to the _objs_from_sth method
implementation.
Example : $fts = $a->generic_fetch('contig_id in (1234, 1235)', 'Swall');
Description: Overrides the default generic fetch for this object. Will
ignore slice constraints.
...
...
@@ -63,7 +63,9 @@ use Bio::EnsEMBL::Utils::Exception qw(throw warning);
=cut
sub
generic_fetch
{
my
(
$self
,
$constraint
,
$mapper
,
$slice
,
$keep_all
)
=
@_
;
my
(
$self
,
$constraint
,
$mapper
,
$slice
)
=
@_
;
$options
||=
{};
my
$columns
=
join
('
,
',
$self
->
_columns
());
...
...
@@ -80,7 +82,7 @@ sub generic_fetch {
$sth
->
execute
;
my
$res
=
$self
->
_objs_from_sth
(
$sth
,
$mapper
,
$slice
,
$
keep_all
);
my
$res
=
$self
->
_objs_from_sth
(
$sth
,
$mapper
,
$slice
,
$
options
);
return
$res
;
}
...
...
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