summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-09 17:47:05 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-09 17:47:05 +0200
commit9b60e3f7dd0c7c5bb07e420743014db0af95d47f (patch)
treeae8e025a196e779368cc97a9bc76479bf2959e17 /application.rb
parent2f92a51f65bc72926eb6a885e076f3e2a8178a6d (diff)
logging removed
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index d74fbbe..4de2da5 100644
--- a/application.rb
+++ b/application.rb
@@ -181,7 +181,6 @@ post '/predict/?' do # post chemical name to model
#LOGGER.debug "curl -X POST -d 'compound_uri=#{@compound.uri}' -H 'Accept:application/x-yaml' #{model.uri}"
prediction = YAML.load(`curl -X POST -d 'compound_uri=#{@compound.uri}' -H 'Accept:application/x-yaml' #{model.uri}`)
#prediction = YAML.load(OpenTox::Model::Lazar.predict(params[:compound_uri],params[:model_uri]))
- LOGGER.debug prediction.to_yaml
source = prediction.creator
if prediction.data[@compound.uri]
if source.to_s.match(/model/) # real prediction