From 5ecdec2682ac6b61912afe74123b6d3d7c15e771 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 28 Jun 2012 14:29:05 +0200 Subject: Dataset.data_entries fixed --- lib/opentox.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/opentox.rb') diff --git a/lib/opentox.rb b/lib/opentox.rb index f79b51b..b282ed2 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -120,6 +120,7 @@ module OpenTox def from_file service_uri, filename, subjectid=nil file = File.new filename + # TODO: sdf files are incorrectly detected from_uri RestClientWrapper.post(service_uri, {:file => file}, {:subjectid => subjectid, :content_type => file.mime_type, :accept => "text/uri-list"}), subjectid end -- cgit v1.2.3