We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4017524 commit 7658c01Copy full SHA for 7658c01
mne_bids/tests/test_path.py
@@ -1651,6 +1651,8 @@ def test_dont_create_dirs_on_fpath_access(tmp_path):
1651
1652
1653
def test_fpath_common_prefix(tmp_path):
1654
+ """Tests that fpath does not match multiple files with the same prefix.
1655
+ This might happen if indices are not zero-paddded."""
1656
sub_dir = tmp_path / "sub-1" / "eeg"
1657
sub_dir.mkdir(exist_ok=True, parents=True)
1658
(sub_dir / "sub-1_run-1_raw.fif").touch()
0 commit comments