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
[jupytext] Reading 02_example_lambda_system_rwa_complex_pulse.ipynb
[jupytext] Updating notebook metadata with {'jupytext': {'formats': 'ipynb,py:light'}}
[jupytext] Error: Notebook path '02_example_lambda_system_rwa_complex_pulse.ipynb' was expected to have extension '.md'
and the notebook file is not updated with new metadata. It works if I remove the 'jupytext metadata from the ipynb file manually, before running the command.
Do I understand the current README correctly, that "jupytext": {"formats": "ipynb,py"}, is the only metadata that jupytext v.1.0.0 will put in the notebook? If so, it should probably remove the legacy metadata from the notebook.
The text was updated successfully, but these errors were encountered:
Do I understand the current README correctly, that "jupytext": {"formats": "ipynb,py"}, is the only metadata that jupytext v.1.0.0 will put in the notebook? If so, it should probably remove the legacy metadata from the notebook.
Yes, that's the idea. Actually this is almost working, but not yet completely true on version 1.0.0-rc1, so I'll add one more test to cover and fix this...
Consider the notebook at https://raw.githubusercontent.com/qucontrol/krotov/3ff0bc3b9a4d591ec699a6b3e92ba41f7fd10bc3/docs/notebooks/02_example_lambda_system_rwa_complex_pulse.ipynb
It contains a metadata blob that the older version of
jupytext
added when editing the file invim
withjupytext.vim
:If I run
I get
and the notebook file is not updated with new metadata. It works if I remove the
'jupytext
metadata from theipynb
file manually, before running the command.Do I understand the current README correctly, that
"jupytext": {"formats": "ipynb,py"},
is the only metadata thatjupytext
v.1.0.0 will put in the notebook? If so, it should probably remove the legacy metadata from the notebook.The text was updated successfully, but these errors were encountered: