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
1c86bb45
Commit
1c86bb45
authored
18 years ago
by
Felix Kokocinski
Browse files
Options
Downloads
Patches
Plain Diff
mainly typos
parent
33e2e5d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/Bio/EnsEMBL/Map/DBSQL/DitagAdaptor.pm
+10
-10
10 additions, 10 deletions
modules/Bio/EnsEMBL/Map/DBSQL/DitagAdaptor.pm
modules/Bio/EnsEMBL/Map/Ditag.pm
+1
-1
1 addition, 1 deletion
modules/Bio/EnsEMBL/Map/Ditag.pm
with
11 additions
and
11 deletions
modules/Bio/EnsEMBL/Map/DBSQL/DitagAdaptor.pm
+
10
−
10
View file @
1c86bb45
...
...
@@ -35,7 +35,7 @@ use Bio::EnsEMBL::Utils::Exception qw(throw warning);
@ISA
=
qw(Bio::EnsEMBL::DBSQL::BaseAdaptor)
;
=head2 fetch_by_name
=head2 fetch_
all_
by_name
Arg [1] : ditag name
Example : $tag = $ditag_adaptor->fetch_by_name("U3");
...
...
@@ -45,7 +45,7 @@ use Bio::EnsEMBL::Utils::Exception qw(throw warning);
=cut
sub
fetch_by_name
{
sub
fetch_
all_
by_name
{
my
(
$self
,
$tagname
)
=
@_
;
if
(
!
$tagname
){
...
...
@@ -67,7 +67,7 @@ sub fetch_by_name {
Arg [1] : ditag type
Example : @all_tags = @{$ditag_adaptor->fetch_by_dbID(1003)};
Description: Retrieve ditags with a certain id from the database
Returntype :
listref of
Bio::EnsEMBL::Map::Ditag
Returntype : Bio::EnsEMBL::Map::Ditag
Caller : general
=cut
...
...
@@ -84,7 +84,7 @@ sub fetch_by_dbID {
$sth
->
execute
(
$tagid
);
my
$result
=
$self
->
_fetch
(
$sth
);
return
$result
;
return
$result
->
[
0
]
;
}
...
...
@@ -114,19 +114,19 @@ sub fetch_all_by_type {
}
=head2 fetch_
all_
by_name_and_type
=head2 fetch_by_name_and_type
Arg [1] : ditag name
Arg [2] : ditag type
Example : $tag = $ditag_adaptor->fetch_by_name_and_type("U3", "SME005");
Description: Retrieves ditags from the database using name/type combination
which should be non-ambiguous
Returntype :
listref of
Bio::EnsEMBL::Map::Ditag
Returntype : Bio::EnsEMBL::Map::Ditag
Caller : general
=cut
sub
fetch_
all_
by_name_and_type
{
sub
fetch_by_name_and_type
{
my
(
$self
,
$tagname
,
$tagtype
)
=
@_
;
if
(
!
$tagname
or
!
$tagtype
){
...
...
@@ -138,7 +138,7 @@ sub fetch_all_by_name_and_type {
$sth
->
execute
(
$tagname
,
$tagtype
);
my
$result
=
$self
->
_fetch
(
$sth
);
return
$result
;
return
$result
->
[
0
]
;
}
...
...
@@ -164,7 +164,7 @@ sub fetch_all {
}
=head2 fetch_with_limit
=head2 fetch_
all_
with_limit
Arg [1] : ditag type
Arg [2] : row limit
...
...
@@ -174,7 +174,7 @@ sub fetch_all {
=cut
sub
fetch_with_limit
{
sub
fetch_
all_
with_limit
{
my
(
$self
,
$tagtype
,
$limit
,
$offset
)
=
@_
;
my
@ditags
=
();
...
...
This diff is collapsed.
Click to expand it.
modules/Bio/EnsEMBL/Map/Ditag.pm
+
1
−
1
View file @
1c86bb45
...
...
@@ -189,7 +189,7 @@ sub get_ditagFeatures {
my
$self
=
shift
;
return
$self
->
adaptor
->
db
->
get_adaptor
("
ditagFeature
")
->
fetch_by_ditagID
(
$self
->
dbID
);
->
fetch_
all_
by_ditagID
(
$self
->
dbID
);
}
1
;
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