Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors can only be ignored project-wide or by notebook #150

Closed
adrn opened this issue Sep 22, 2017 · 2 comments
Closed

Errors can only be ignored project-wide or by notebook #150

adrn opened this issue Sep 22, 2017 · 2 comments

Comments

@adrn
Copy link
Member

adrn commented Sep 22, 2017

Right now with nbsphinx, there is no way to ignore errors from a single cell. Some of the tutorials generate errors on purpose, which we want to ignore, but we also want to also be able to catch genuine failures.

I opened spatialaudio/nbsphinx#125 to ask about this feature.

@adrn
Copy link
Member Author

adrn commented Sep 22, 2017

The feature request might even go further upstream to nbconvert. I think the easiest thing to do for now is to not have known exceptions in the tutorials - turn them into commented cell blocks, and we just have to say "this code will break..."

@eteq
Copy link
Member

eteq commented Sep 22, 2017

After some out-of-band discussion, @adrn convinced me that this isn't a blocker, because all the uses of exceptions in the nbs right now can be re-phrased to not raise errors/be commented out. But this is a "nice-to-have" if nbconvert can eventually support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants