papermill icon indicating copy to clipboard operation
papermill copied to clipboard

Issue with tracking the execution with cell descriptions

Open Besteverandever opened this issue 2 years ago • 0 comments

🐛 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)

Besteverandever avatar Feb 08 '23 09:02 Besteverandever