Module: OLS
- Defined in:
- lib/ols.rb,
lib/ols/version.rb
Overview
Simple wrapper for interacting with the OLS (Ontology Lookup Service - www.ebi.ac.uk/ontology-lookup/) database (created and managed by the EBI). Handles interaction with the service and automagically turns the retieved ontology terms into usable tree stuctures.
Defined Under Namespace
Classes: OntologyTerm, OntologyTermNotFoundError
Constant Summary collapse
- VERSION =
"0.0.1"
Class Attribute Summary collapse
-
.db_connection_details ⇒ Object
Returns the value of attribute db_connection_details.
Class Method Summary collapse
Class Attribute Details
.db_connection_details ⇒ Object
Returns the value of attribute db_connection_details.
16 17 18 |
# File 'lib/ols.rb', line 16 def db_connection_details @db_connection_details end |
Class Method Details
.ols_db ⇒ Object
18 19 20 21 |
# File 'lib/ols.rb', line 18 def ols_db @ols_db = connect_to_db() if @ols_db.nil? @ols_db end |