mwouts / jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
https://jupytext.readthedocs.io
MIT License
6.65k stars 386 forks source link

Filter out empty metadata entries #1038

Closed andyreagan closed 1 year ago

andyreagan commented 1 year ago

Pretty hacky, but this closes #960 (I confirmed with a local test for me)

andyreagan commented 1 year ago

@mwouts I'd be happy to make any changes here to make this ready to merge, let me know I can help.

mwouts commented 1 year ago

Well the implementation needs to be slightly different - we need to restore the empty tags in the "combined" notebook otherwise these notebook cannot be "trusted". So I'll take #1043 rather than this PR. But thank you anyway for bringing my attention to this issue again!