diff options
author | gebele <gebele@in-silico.ch> | 2016-06-10 06:35:19 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2016-06-10 06:35:19 +0000 |
commit | 52a3d062409337ecc019991b00d0495f90f8261e (patch) | |
tree | 0015cf05f182d1070e828238cc0f88ced8dc938e /application.rb | |
parent | 10ead88b17c70fdb3b53bb9daaa4a10c7755c2bf (diff) |
added version and share buttons
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application.rb b/application.rb index 225776d..1f7fa00 100644 --- a/application.rb +++ b/application.rb @@ -13,6 +13,7 @@ get '/?' do end get '/predict/?' do + @version = File.read("VERSION").chomp data = JSON.parse(File.read("./data.json")) query_features = JSON.parse(File.read("./query-features.json")) @example = data[data.keys.sample]["physchem"].select{|f,v| query_features.include? f} |