Skip to content

Commit

Permalink
Finish the transition to canvas CCA scatterplot. Closes #64.
Browse files Browse the repository at this point in the history
  • Loading branch information
tshead2 committed Sep 3, 2013
1 parent b18067c commit 73f91cb
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 1,801 deletions.
3 changes: 0 additions & 3 deletions packages/slycat/web/server/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,6 @@ def get_model(mid, **kwargs):
context["x-structure-correlation"] = database.get_attachment(model, model["artifact:x-structure-correlation"]).read() if "artifact:x-structure-correlation" in model else "null"
context["y-canonical-variables"] = database.get_attachment(model, model["artifact:y-canonical-variables"]).read() if "artifact:y-canonical-variables" in model else "null"
context["y-structure-correlation"] = database.get_attachment(model, model["artifact:y-structure-correlation"]).read() if "artifact:y-structure-correlation" in model else "null"
#if "canvas" in kwargs:
if True:
return slycat.web.server.template.render("model-cca3-canvas.html", context)
return slycat.web.server.template.render("model-cca3.html", context)

return slycat.web.server.template.render("model-generic.html", context)
Expand Down
Loading

0 comments on commit 73f91cb

Please sign in to comment.