mne-tools / mne-nirs

Process Near-Infrared Spectroscopy Data in MNE
https://mne.tools/mne-nirs/
BSD 3-Clause "New" or "Revised" License
79 stars 35 forks source link

MAINT: Use explicitly public APIs #521

Closed larsoner closed 1 year ago

larsoner commented 1 year ago

In https://github.com/mne-tools/mne-python/pull/11903 we're trying to make some mne/io stuff private. This changes mne-nirs to use the explicitly public API

Also includes a number of fixes for latest NumPy/SciPy/Pandas

codecov[bot] commented 1 year ago

Codecov Report

Merging #521 (d40efea) into main (b518247) will decrease coverage by 0.07%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   95.28%   95.22%   -0.07%     
==========================================
  Files          69       69              
  Lines        2865     2868       +3     
  Branches      412      412              
==========================================
+ Hits         2730     2731       +1     
- Misses         65       66       +1     
- Partials       70       71       +1     
Files Changed Coverage Δ
mne_nirs/conftest.py 96.49% <ø> (ø)
mne_nirs/preprocessing/tests/test_mayer.py 100.00% <100.00%> (ø)
mne_nirs/statistics/_glm_level_first.py 88.58% <100.00%> (+0.78%) :arrow_up:
mne_nirs/statistics/_statsmodels.py 91.02% <100.00%> (+0.11%) :arrow_up:
mne_nirs/statistics/tests/test_glm_type.py 98.99% <100.00%> (-1.01%) :arrow_down:
mne_nirs/tests/test_examples.py 80.64% <100.00%> (-6.86%) :arrow_down:
mne_nirs/utils/_io.py 96.25% <100.00%> (ø)
mne_nirs/visualisation/_plot_3d_montage.py 98.01% <100.00%> (-0.02%) :arrow_down:
mne_nirs/visualisation/_plot_GLM_topo.py 85.23% <100.00%> (ø)