summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-11 17:02:01 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-11 17:02:01 +0100
commite9918ecda2a658855d483ca953b1348d1803d22f (patch)
tree1d6e9f82bd2af18554fedfa226eb70820a383d7d
parent56e18476feeecf62d9ceded0a356232fc645fa67 (diff)
Martins and Michas changes merged
-rw-r--r--lazar.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lazar.rb b/lazar.rb
index fe65d63..30c0be4 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -94,6 +94,7 @@ end
# @return [text/uri-list] URI of prediction task (dataset prediction) or prediction dataset (compound prediction)
post '/:id/?' do
+ puts params.to_yaml
@lazar = YAML.load ModelStore.get(params[:id]).yaml
halt 404, "Model #{params[:id]} does not exist." unless @lazar