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

Fixed handling of non-executed cells in jupyter notebooks #123

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

AndyLamperski
Copy link

When writing to a Jupyter notebook, if a code cell had the option 'execute=False', I would get the following error:

Failed validating 'type' in code_cell['properties']['outputs']:                                                  

On instance['cells'][1]['outputs']:
''

This was fixed by changing the result from '' to [].
Also, the execution count for non-executed cells was set to None.

I haven't tested if this causes undesirable behavior for other output formats.

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

Successfully merging this pull request may close these issues.

None yet

1 participant