Skip to content

Commit

Permalink
FIX: Pre
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Apr 2, 2024
1 parent 8e2a2dd commit 73b3e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python=${{ matrix.python }}
if: matrix.kind == 'conda'
- run: pip install -r requirements_testing.txt
- run: pip install git+https://github.com/mne-tools/mne-python
- run: pip install --upgrade --pre git+https://github.com/mne-tools/mne-python git+https://github.com/nilearn/nilearn --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "numpy>=2.0.0rc1" scipy
if: matrix.mne == 'dev'
- run: pip install -ve .
- run: mne sys_info
Expand Down
2 changes: 1 addition & 1 deletion mne_nirs/io/fold/_fold.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _source_detector_fold_table(raw, cidx, reference, fold_tbl, interpolate):
if len(tbl) == 0 and interpolate:
# Try something hopefully not too terrible: pick the one with the
# smallest net distance
good = np.in1d(fold_tbl["Source"], reference["label"]) & np.in1d(
good = np.isin(fold_tbl["Source"], reference["label"]) & np.isin(
fold_tbl["Detector"], reference["label"]
)
assert good.any()
Expand Down

0 comments on commit 73b3e50

Please sign in to comment.