Regenerating before making change to one of the notebooks.
Surprisingly (or because of my lack of knowledge of how to use nbdev/execnb libs) current read_nb() function adds these unexpected keys to notebook JSON:
1) idx_ to all the cells
2) path_ to the root
These result in errors of the following type when notebook is opened:
Notebook validation failed: Additional properties are not allowed ('idx_' was unexpected):
To address this issue, the proc_nb() function has been modified to forcefully delete these keys. Future improvements could involve implementing a cleaner solution, such as refining the clean_nb() function in the nbdev library.
Regenerating before making change to one of the notebooks.
Surprisingly (or because of my lack of knowledge of how to use
nbdev
/execnb
libs) currentread_nb()
function adds these unexpected keys to notebook JSON: 1)idx_
to all the cells 2)path_
to the rootThese result in errors of the following type when notebook is opened:
To address this issue, the
proc_nb()
function has been modified to forcefully delete these keys. Future improvements could involve implementing a cleaner solution, such as refining theclean_nb()
function in thenbdev
library.