[IPython-dev] Propagate errors with ipython nbconvert --execute?
Michael Waskom
mwaskom at stanford.edu
Sun May 3 20:46:15 EDT 2015
Hi,
ipython nbconvert has, of late, the --execute flag, which makes it handy to
work with notebooks as documentation source without having to keep the
output in a git repository.
However, when invoked as specified in the version 3 release notes:
ipython nbconvert --to notebook --inplace --execute my_notebook.ipynb
the converter trundles right along past exceptions raised in the code
blocks.
It would be helpful if there were some option so that the executable would
return with a nonzero error code when an exception was raised so problems
more easily detected. Is that possible? I didn't see any obvious arguments
to that flag when I looked at the help, but it's a complicated tool.
Thanks!
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150503/7a830709/attachment.html>
More information about the IPython-dev
mailing list