Reputation: 138
I don't know if it is possible, but I have a Jupyter notebook where I'd like to disable some cells in case of a whole run. That is, 'Run All' would jump over these cells and not trigger them, but they could still be used if ran alone (e.g. with Ctrl+Enter) without changing the code.
I know %%script false --no-raise-error
does the trick, but you need to manually change a constant to re-enable the cells when you need them. Ideally, I'd not have to change anything in the code.
Upvotes: 1
Views: 1853