Skip to content

Download Ipynb does not exclude excluded input/output #686

Open
@sebastianjanisch

Description

@sebastianjanisch

Describe the bug

context
When I use the download .ipynb functionality.

expectation
I expected any cells marked as remove-output/remove-input to be excluded from the downloaded notebook.

bug
But instead all cells are part of the downloaded notebook.

problem
This is a problem for us because we have some integration context specific cells that are necessary to run the notebook, but should not be part of the published content.

Reproduce the bug

  1. Create notebook with cells tagged as remove-output and remove-input.
  2. Build the docs
  3. click Download .ipynb
  4. verify those cells have not beed removed

List your environment

myst-nb version 1.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions