summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-09 15:56:20 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-09 15:56:20 +0100
commite3b3717024d644f17a52f5a49b6b145e53fee503 (patch)
treebdecbe0473434bbe3b8ed030ddb5f06d52183f8c /lib/dataset.rb
parent63172223d1aeadd38850c85de668d1b1b333ceb0 (diff)
Debug messages for Dataset.find
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb
index 19572f6..3971537 100644
--- a/lib/dataset.rb
+++ b/lib/dataset.rb
@@ -86,7 +86,9 @@ module OpenTox
def self.find(uri)
dataset = Dataset.new
+ LOGGER.debug "Getting data from #{uri}"
data = `curl "#{uri}"`
+ LOGGER.debug data
#data = RestClient.get(uri, :accept => 'application/rdf+xml') # unclear why this does not work for complex uris, Dataset.find works from irb
dataset.rdf = data
dataset