summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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