diff options
author | Christoph Helma <helma@in-silico.de> | 2009-08-17 11:42:31 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-08-17 11:42:31 +0200 |
commit | 8c8dfc8916cccbd57fa8fb405ddf212c90f96022 (patch) | |
tree | 039afb1cc93ddfae970941eb4f6e5514142db52d /lib | |
parent | ed70223abf4ead192139c1c59fbb5547625472df (diff) |
dataset creation from name fixed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/opentox-ruby-api-wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox-ruby-api-wrapper.rb b/lib/opentox-ruby-api-wrapper.rb index 3f9d739..a27125b 100644 --- a/lib/opentox-ruby-api-wrapper.rb +++ b/lib/opentox-ruby-api-wrapper.rb @@ -100,7 +100,7 @@ module OpenTox elsif params[:name] and params[:filename] @uri = `curl -X POST -F file=@#{params[:filename]} -F name="#{params[:name]}" #{ENV['OPENTOX_DATASET']}` elsif params[:name] - @uri = RestClient.post ENV['OPENTOX_DATASET'], :name => params[:name], :data => params[:data].to_yaml + @uri = RestClient.post ENV['OPENTOX_DATASET'], :name => params[:name] end end |