nteract/papermill

Issue with tracking the execution with cell descriptions

Open

#712 创建于 2023年2月8日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (402 fork)batch import
bughelp wanted

仓库指标

Star
 (5,381 star)
PR 合并指标
 (30 天内没有已合并 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)

贡献者指南