-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
FIX: make epoch cropping idempotent #9378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: make epoch cropping idempotent #9378
Conversation
|
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
|
The test failure seems unrelated. @jsosulski can you add a line in the bug fix section of our what’s new page? See file latest.inc Thx ! |
agramfort
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx @jsosulski that's perfect !
|
@larsoner I let you merge when you have a minute ! |
|
@agramfort : I just finished checking all the |
|
if you can fix everything in one PR it's great. All the fixes are related
… |
agramfort
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx @jsosulski
@larsoner ok with the fix?
|
🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪 |
|
Thanks @jsosulski ! |
* upstream/main: FIX: make epoch cropping idempotent (mne-tools#9378) MRG, ENH: Add NIRSport support (mne-tools#9348) MRG, ENH: Make _get_hpi_info public (mne-tools#9369) ENH: Add a playback button to the notebook 3d backend (mne-tools#8741) better docs for permutation_cluster_test (mne-tools#9365) MRG: Add fNIRS to html output (mne-tools#9367) When plotting GFP comparison in Report, don't show sensor layout by default (mne-tools#9366) DOC: Update Mayavi troubleshooting section (mne-tools#9362) more tutorial tweaks (mne-tools#9359) MRG, MAINT: Use native GitHub Actions skip (mne-tools#9361) MAINT: Clean up crufty code [circle front] (mne-tools#9358) API: Complete deprecations (mne-tools#9356) Add qdarkstyle, darkdetect to environment.yml [circle full] (mne-tools#9357) FIX: Fix FIX: Add
Reference issue
Fixes #9374
What does this implement/fix?
Set
include_tmax=Truewhentmaxis larger than the epoch.Additional Information
I think this cannot be sensibly done in the
_time_maskfunction as we do not know whethertmaxwas set automatically or not in that function. However, I do now knot if_time_maskshould do this kind of error handling or if it is up to the calling functions.