You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the notebooks contain cells that intentionally cause errors, which breaks the execution. We are currently running nbconvert --allow-errors to continue the conversion after an error occurs, but this means we are potentially letting other errors through without noticing (there doesn't seem to be a way to get all the errors raised).
Version 5.4 of nbconvert has support for the raises-exception tag, which lets you specify that a particular cell is expected to produce an error, and shouldn't stop the conversion if an exception is raised (there is an issue open for the inverse, requiring that the cell produces the error, and stopping the conversion if it doesn't). If we use that, then we should be able to just run nbconvert and only accept the errors we have put there intentionally.
The text was updated successfully, but these errors were encountered:
ageorgou
added
2018-19
Issues raised ahead of/during the 2018-19 teaching year
and removed
2018-19
Issues raised ahead of/during the 2018-19 teaching year
labels
Dec 12, 2018
Some of the notebooks contain cells that intentionally cause errors, which breaks the execution. We are currently running
nbconvert --allow-errors
to continue the conversion after an error occurs, but this means we are potentially letting other errors through without noticing (there doesn't seem to be a way to get all the errors raised).Version 5.4 of
nbconvert
has support for theraises-exception
tag, which lets you specify that a particular cell is expected to produce an error, and shouldn't stop the conversion if an exception is raised (there is an issue open for the inverse, requiring that the cell produces the error, and stopping the conversion if it doesn't). If we use that, then we should be able to just runnbconvert
and only accept the errors we have put there intentionally.The text was updated successfully, but these errors were encountered: