Skip to content

Issue with tracking the execution with cell descriptions #712

Open
@Besteverandever

Description

@Besteverandever

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions