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
969ac5a7
Commit
969ac5a7
authored
Dec 02, 2010
by
Andy Yates
Browse files
Bringing in a fix from eg-plugins/common to allow the searching of ontologies other than GO and SO
parent
6cc0846b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
+3
-4
No files found.
modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm
View file @
969ac5a7
...
...
@@ -145,13 +145,12 @@ SELECT term.term_id,
ontology.namespace
FROM ontology,
term
WHERE
ontology.name = ?
AND
ontology.ontology_id = term.ontology_id
WHERE
ontology.ontology_id = term.ontology_id
AND term.accession = ?)
;
my
$sth
=
$this
->
prepare
(
$statement
);
$sth
->
bind_param
(
1
,
$this
->
{'
ontology
'},
SQL_VARCHAR
);
$sth
->
bind_param
(
2
,
$accession
,
SQL_VARCHAR
);
$sth
->
bind_param
(
1
,
$accession
,
SQL_VARCHAR
);
$sth
->
execute
();
...
...
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