Executing cells with certain cell tags #14357
Unanswered
gvmichael
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating an extension that selects cells with certain cell tags and executes them in a jupyter notebook. I am able to get a list of cells that have the desired cell tag, but I can't figure out how to execute the code in the cells. I have been trying with Notebook Controller but have been getting an error that Notebook Controller is NOT associated with notebook ....
The code I have been using to define the Notebook Controller (where matchingCells is defined by other code):
Is my Notebook Controller defined right, and if so, how can I properly associate the Notebook Controller with the current notebook? Or is there a better way to execute cells?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions