Skip to content
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

Issue with tracking the execution with cell descriptions #712

Open
Besteverandever opened this issue Feb 8, 2023 · 0 comments
Open

Issue with tracking the execution with cell descriptions #712

Besteverandever opened this issue Feb 8, 2023 · 0 comments

Comments

@Besteverandever
Copy link

🐛 Bug

I have added my cell descriptions as indicated in the documentation, but the only output I can see is:
Executing SECONDCELL: 100%
which is missing the cell description for the FIRSTCELL.

Issue: I think the issue is that the first cell description gets overwritten by the second cell description as there is no line feed.

My notebook code is as follows:
Cell#1
#papermill_description=FIRSTCELL
a=1
print("a=", a)

Cell#2
#papermill_description=SECONDCELL
twice = a*2
print("twice:", twice)

My python script is as follows:
import papermill as pm
notebookfn = 'test.ipynb'
outputfn = 'output.ipynb'
pm.execute_notebook(notebookfn, outputfn)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant