diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-06-28 14:29:05 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-06-28 14:29:05 +0200 |
commit | 5ecdec2682ac6b61912afe74123b6d3d7c15e771 (patch) | |
tree | 1b7ec4f4e11328d8691b38da2169332619ba75f6 /lib/opentox.rb | |
parent | 5f61cefdefc51a728147478820ffe04c5ec127d5 (diff) |
Dataset.data_entries fixed
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |