-
Notifications
You must be signed in to change notification settings - Fork 487
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
nbdev_update
creates a new cell, instead of updating the original code
#775
Comments
Thanks for reporting this. I'm getting a different error: the code gets updated into the same cell, but it becomes a markdown cell without any directives. @BirkhoffG do you mind sharing a repo or minimal example |
Hi @hamelsmu, here is my repo: To reproduce the error:
|
@BirkhoffG I believe your project is a nbdev v1 repo. Have you tried migrating this project to nbdev v2 yet? Here is a migration guide: https://nbdev.fast.ai/migrating.html Can you please try that and let us know if that helps? |
Yes, at the time I reported the bug, I was using the v2 The |
To replicate the issue reported, go to the |
nbdev_update
does not work as intended. It will create a new code cell, instead of updating the original code.My use case:
If I make changes in
a.py
, and runnbdev_update
, it will create a new code cell ina.ipynb
, rather than updating code in this notebook.version: 2.1.1
The text was updated successfully, but these errors were encountered: