diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-05-02 20:06:16 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-05-02 20:06:16 +0000 |
commit | 1d49fe0da8e7d4dfc57fdbfffdc4e32db2ef0647 (patch) | |
tree | b8418124dd391965018704986edb39858055d8e7 /lib/opentox-client.rb | |
parent | f8b6f8d19566d372e47edba7968ce66ff09052c9 (diff) |
initial task service
Diffstat (limited to 'lib/opentox-client.rb')
-rw-r--r-- | lib/opentox-client.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/opentox-client.rb b/lib/opentox-client.rb index dec3512..0546634 100644 --- a/lib/opentox-client.rb +++ b/lib/opentox-client.rb @@ -7,6 +7,7 @@ require 'uri' require 'yaml' require 'json' require 'logger' +require "securerandom" # define constants and global variables #TODO: switch services to 1.2 @@ -17,6 +18,7 @@ RDF::OTA = RDF::Vocabulary.new 'http://www.opentox.org/algorithmTypes.owl#' #CLASSES = ["Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "ErrorReport", "Investigation"] CLASSES = ["Generic", "Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "Investigation"] RDF_FORMATS = [:rdfxml,:ntriples,:turtle] +#$default_rdf = "text/plain" $default_rdf = "application/rdf+xml" # Regular expressions for parsing classification data |