-
Notifications
You must be signed in to change notification settings - Fork 19
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
[BUG] Using preserve cell metadata flag before filename not working as expected #255
Comments
This is an interesting case!
In this case, the
However, because
In practice, this means if you're not passing any custom fields to preserve, the
|
I'll close this now, as we added documentation about it in #254. |
That makes sense, thanks for explaining and amending the documentation! For future reference, this is also a possible alternative if the user wishes to keep echo "file 1.ipynb\nfile 2.ipynb\nfile 3.ipynb" | xargs -r -I {} nb-clean check "{}" --preserve-notebook-metadata --preserve-cell-metadata |
Problem
Using the current latest versions of
nb-clean
i.e.3.2.0
, checking the notebook with preserving the cell metadata flag before the filename causes the command to hang indefinitely.Examples
Working as expected
Not working as expected
These just hang and it never finishes the commands:
Other working examples
These commands also work as expected:
The text was updated successfully, but these errors were encountered: