nbmake icon indicating copy to clipboard operation
nbmake copied to clipboard

glob operators do not always work

Open anilbey opened this issue 1 year ago • 0 comments

Describe the bug Hi I think there is an issue with the glob.

Here is the directory ❯ tree examples/1-singlecell -L 1 examples/1-singlecell ├── hoc ├── morphology ├── singlecell.ipynb └── x86_64

pytest --nbmake examples//1-singlecell/singlecell.ipynb works pytest --nbmake examples/**/*ipynb does not work pytest --nbmake **/*ipynb does not work

When they don't work the error is the following:

It says ERROR: file or directory not found: **/*ipynb

To Reproduce

  1. Use this versions
  • nbmake==1.4.1
  • pytest==7.3.2
  1. Create a directory like the one I created and repeat the 3 commands provided above.

Expected behavior

The wildcard character to detect the .ipynb files in the inner directories.

anilbey avatar Jun 16 '23 13:06 anilbey