nteract/papermill

Issue with tracking the execution with cell descriptions

Open

#712 opened on 2023幎2月8日

GitHub で芋る
 (1 comment) (0 reactions) (0 assignees)Python (402 forks)batch import
bughelp wanted

Repository metrics

Stars
 (5,381 stars)
PR merge metrics
 (30d に merged PR はありたせん)

説明

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

コントリビュヌタヌガむド