probmods / webppl-viz

Visualization for WebPPL
http://probmods.github.io/webppl-viz/
Other
14 stars 9 forks source link

prevent throwing errors from the command line #14

Closed jsalvatier closed 8 years ago

jsalvatier commented 8 years ago

To run examples as tests for agentmodels.org and webppl-gridworld, we occasionally want to call viz.print in a script run from the command line. This is needed to prevent errors.