diff --git a/examples/convert_empty_room.py b/examples/convert_empty_room.py index 748c9bac0..7d522a015 100644 --- a/examples/convert_empty_room.py +++ b/examples/convert_empty_room.py @@ -42,7 +42,7 @@ data_path = sample.data_path() raw_fname = data_path / "MEG" / "sample" / "sample_audvis_raw.fif" -bids_root = data_path / ".." / "MNE-sample-data-bids" +bids_root = data_path.parent / "MNE-sample-data-bids" # %% # To ensure the output path doesn't contain any leftover files from previous