forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG, BUG: Make sure resample return at least one sample (mne-tools#9897)
* TST: Expose failure when resampling to 1 sample with sfreq > len(times) [ci skip] * raise a RuntimeError when resampling yields 0 datapoints. * Change raised error to match numpy error raised in numpy/fft/_pocketfft:94: in _get_backward_norm * fix regex match pattern. * return 1 sample instead of raising. * FIX: One more max * Add entry to latest.inc. * DOC: Add name * DOC: Update [ci skip] Co-authored-by: Eric Larson <[email protected]>
- Loading branch information
1 parent
44f4b0f
commit 131c676
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters