diff options
author | mr <mr@mrautenberg.de> | 2011-08-17 14:06:03 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-08-17 14:06:03 +0200 |
commit | a368d3ad8015a905c0aee873c5c10c2fad4afbdb (patch) | |
tree | 3d1120f42237568f2059a19757e2d20fe7d7e761 /lazar.rb | |
parent | 7324d4503480fc0bfdf879475380ed197bcad213 (diff) |
move data directory to folder data for A&A reasons
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ post '/?' do # create model raise OpenTox::BadRequestError.new "MIME type \"#{request.content_type}\" not supported." unless request.content_type.match(/yaml/) @id = next_id @uri = uri @id - @yaml_file = "public/#{@id}.yaml" + @yaml_file = "#{@@datadir}/#{@id}.yaml" lazar = YAML.load request.env["rack.input"].read lazar.uri = @uri value_feature_uri = File.join( @uri, "predicted", "value") |