Skip to content

Commit

Permalink
Merge branch 'main' into sparray
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jun 5, 2024
2 parents 558ff46 + 4ce0eb6 commit ccb1011
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Check towncrier entry in doc/changes/devel/
runs-on: ubuntu-latest
steps:
- uses: larsoner/action-towncrier-changelog@co # revert to scientific-python @ 0.1.1 once bug is fixed
- uses: scientific-python/action-towncrier-changelog@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BOT_USERNAME: changelog-bot
6 changes: 4 additions & 2 deletions mne/io/fiff/tests/test_raw_fiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,12 +694,14 @@ def test_bids_split_files(tmp_path):
with pytest.raises(ValueError, match="Passing a BIDSPath"):
raw.save(bids_path, **save_kwargs)
bids_path.split = None
want_paths = [Path(bids_path.copy().update(split=ii).fpath) for ii in range(1, 3)]
want_paths = [
Path(bids_path.copy().update(split=f"{ii:02d}").fpath) for ii in range(1, 3)
]
for want_path in want_paths:
assert not want_path.is_file()
raw.save(bids_path, **save_kwargs)
for want_path in want_paths:
assert want_path.is_file()
assert want_path.is_file(), want_path


def _err(*args, **kwargs):
Expand Down
3 changes: 3 additions & 0 deletions tools/install_pre_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ pip install $STD_ARGS imageio-ffmpeg xlrd mffpy traitlets pybv eeglabio
echo "mne-qt-browser"
pip install $STD_ARGS git+https://github.com/mne-tools/mne-qt-browser

echo "mne-bids"
pip install $STD_ARGS git+https://github.com/mne-tools/mne-bids

echo "nibabel"
pip install $STD_ARGS git+https://github.com/nipy/nibabel

Expand Down

0 comments on commit ccb1011

Please sign in to comment.