Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToC Run Cells doesn't run nested cells after non-header markdown cells #12026

Closed
andrewfulton9 opened this issue Feb 8, 2022 · 1 comment · Fixed by #12027
Closed

ToC Run Cells doesn't run nested cells after non-header markdown cells #12026

andrewfulton9 opened this issue Feb 8, 2022 · 1 comment · Fixed by #12027
Milestone

Comments

@andrewfulton9
Copy link
Contributor

Description

If I try to run code cells under a ToC header with the run cells command, the cells below a non-header markdown cell will not be run.

chrome-capture (4)
Notice in the above screen shot that when I use run cells on the "Text" header, the code cell below the header, defining and printing text is not run. This is because of the markdown cell immediately before it. However when I use run cells on the "HTML" header, the cells below do run because there are no non-header markdown cells between them and their section header.

Reproduce

create a notebook with three cells. The first cell make a markdown header, the second cell make a markdown cell and fill with text without any markdown headers. the 3rd cell, fill with python code.

  1. From the ToC, right click on header
  2. click "Run Cell(s)"
  3. notice the third code cell is not run

Expected behavior

I would expect any code cells nested under a header to be run when I use the Run Cells command

Context

  • Operating System and version: Linux Ubuntu 18.04
  • Browser and version: Chrome 97.0.4692.99
  • JupyterLab version: master
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Feb 8, 2022
@andrewfulton9
Copy link
Contributor Author

@meeseeksdev tag "pkg:toc"

@lumberbot-app lumberbot-app bot added the pkg:toc label Feb 8, 2022
@fcollonval fcollonval removed the status:Needs Triage Applied to new issues that need triage label Feb 9, 2022
@fcollonval fcollonval added this to the 3.3.x milestone Feb 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants