ipython / ipython/traitlets

Issue parsing a single instance of TagRemovePreprocessor

Open
#645 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
653
Forks
217
Avg merge
2d 21h
Merged PRs (30d)
2

Description

```
pip show traitlets
Name: traitlets
Version: 5.0.5
```
Calling `voila` with the `TagRemovePreprocessor.remove_cell_tags` option fails for a single tag:
```
voila notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag
....
traitlets.traitlets.TraitError: The 'remove_cell_tags' trait of a TagRemovePreprocessor instance expected a set, not the str 'tag'.
```

But when providing 2 tags, there's no issue:

`voila .\notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag0 --TagRemovePreprocessor.remove_cell_tags tag1`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.