Skip to content

Comments

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

Open
AndyLamperski wants to merge 8 commits intompastell:masterfrom
AndyLamperski:master
Open

Fixed handling of non-executed cells in jupyter notebooks#123
AndyLamperski wants to merge 8 commits intompastell:masterfrom
AndyLamperski:master

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.

1 participant