diff options
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb index 70edf1c..abc2d6c 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -17,6 +17,7 @@ module OpenTox if uri.match(/webservices.in-silico.ch|localhost|ot.dataset.de|opentox.informatik.uni-freiburg.de/) # try to get YAML first d = YAML.load RestClient.get(uri, :accept => 'application/x-yaml').to_s else # get default rdf+xml + LOGGER.error "no yaml uri match: "+uri.to_s owl = OpenTox::Owl.from_uri(uri) d = Dataset.new |