Skip to content

glob operators do not always workΒ #105

@anilbey

Description

@anilbey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions