How can I capture Hail errors on the RAP?

Hi all?   I have a quality-of-life question. When running Hail on DNAnexus, my notebook often gets disconnected while code is running (e.g. I need to close my laptop). I understand that I can use a JupyterLab magic command, e.g.   ``` %%capture out # a bunch of hail commands in a cell   ``` and subsequently use `out.show()` to view the output. This works when the cell doesn't produce an error. When the cell produces an error, though, `out` is essentially empty. It would be very useful to capture the error so that I have an idea of how to troubleshoot. Any suggestions?   I've posted this question to the Hail forum as well.   Best, Jeremy

Comments

1 comment

Please sign in to leave a comment.