diff options
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb index 70edf1c..ee92a56 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -15,7 +15,7 @@ module OpenTox def self.find(uri) 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 + d = YAML.load RestClientWrapper.get(uri, :accept => 'application/x-yaml').to_s else # get default rdf+xml owl = OpenTox::Owl.from_uri(uri) |