You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to export a executed notebook to a slideshow via nbconvert. I use the metadata {'slideshow': {'slide_type': 'skip'} on the parameter cell (hide the cell in the slideshow). The inserted cell does not copy this metadata and is visible in the slideshow export. The original parameter cell is hidden.
Looking at the code this is expected, because a fresh cell is inserted:
🐛 Bug
I want to export a executed notebook to a slideshow via nbconvert. I use the metadata
{'slideshow': {'slide_type': 'skip'}
on the parameter cell (hide the cell in the slideshow). The inserted cell does not copy this metadata and is visible in the slideshow export. The original parameter cell is hidden.Looking at the code this is expected, because a fresh cell is inserted:
papermill/papermill/parameterize.py
Line 95 in 3ad2dac
There are two approaches I could think of fixing this:
'tags': ['parameters']
from the parameter cell.I am in favor of 1. since in my opinion this is the expected behavior and does not need any additional user code.
Workaround
Input the metadata via a post execution script into the correct location
After we decide on an approach I create a PR for this if necessary.
Thanks!
Julian
The text was updated successfully, but these errors were encountered: