summaryrefslogtreecommitdiff
path: root/lib/opentox-client.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-03-14 10:15:36 +0000
committerChristoph Helma <helma@in-silico.ch>2012-03-14 10:15:36 +0000
commitd657955ef09c69ce66e2eda3a03dbf4b87461915 (patch)
treed935d03e532a8a4e37c2fe4edade635d02639bd4 /lib/opentox-client.rb
parent625c88673e90053f898423dfc96bda1d6c0fa8eb (diff)
Fallback for OpenTox class if URI is ambiguous
Diffstat (limited to 'lib/opentox-client.rb')
-rw-r--r--lib/opentox-client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox-client.rb b/lib/opentox-client.rb
index 7d9329d..e68fd7f 100644
--- a/lib/opentox-client.rb
+++ b/lib/opentox-client.rb
@@ -14,7 +14,7 @@ RDF::OT1 = RDF::Vocabulary.new 'http://www.opentox.org/api/1.1#'
RDF::OTA = RDF::Vocabulary.new 'http://www.opentox.org/algorithmTypes.owl#'
#CLASSES = ["Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "ErrorReport", "Investigation"]
-CLASSES = ["Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "Investigation"]
+CLASSES = ["Generic", "Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "Investigation"]
RDF_FORMATS = [:rdfxml,:ntriples,:turtle]
$default_rdf = "application/rdf+xml"