mpastell / Pweave

Pweave is a scientific report generator and a literate programming tool for Python. It can capture the results and plots from data analysis and works well with numpy, scipy and matplotlib.
http://mpastell.com/pweave
Other
435 stars 64 forks source link

Return full stack trace if code chunk raises exception #62

Open hancush opened 7 years ago

hancush commented 7 years ago

We're using pweave as part of our Python data processing pipeline, and it's great!

Early data work and charting can be fiddly, though, and it would be helpful if we could see the full stack trace if a code chunk raises an exception. Is this currently possible through a chunk option or flag (we're using the CLI to weave an .mdw file to .tex)? If not, you would consider implementing? (Happy to discuss and help if I can.)

Thank you!

mpastell commented 7 years ago

Are you using 0.25? Current master gives improved tracebacks, thanks to using jupyter_client