-
Notifications
You must be signed in to change notification settings - Fork 67
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
allow missing sessions #1000
allow missing sessions #1000
Conversation
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.
Nice, I was hoping it would look about this simple! Thanks @drammock
... just noticed you had WIP in the title. Let me know when I should look. In the meantime the CIs are giving it a shot but I wouldn't be surprised if they failed because of mne-tools/mne-bids#1311 |
OK, I need help. I don't really understand what is going on in
|
Naively I would expect you to be able just to add it to the one place in Do you want me to take a look? |
nope.
Not following what you mean here --- the failure in question is a pytest test, not doc build?
I've pushed 2 commits, one with stuff that I thought would work (or at least be needed) but wasn't after all (once I figured out the hack in the second commit). Please view the diff of those two commits separately, then comment on how I can make it less hacky. The 3rd commit (about |
The AST parsing I wrote wasn't good/complete enough. Needed to iterate over |
OK thanks! WDYT about testing? It looks like After that, I'll add a changelog then, and I think we'll be good! |
Yes that could work! You don't even need to run any steps from the pipeline beyond the |
... FWIW so far I don't think we have many (any?) tests like this so you might be starting from scratch a bit. But it will be nice to have some code for more targeted testing. So far if we add a new feature or behavior we have tried to make sure we could modify some EDIT: full dataset run to make use of it, which isn't really sustainable as the number of options and exceptions grows. |
ae62752
to
0ea2c66
Compare
OK @larsoner assuming all CIs are still green, this one should be ready! |
Ahh that CI does not have |
wait, which one? The only CI failure I see now (check docs consistency) is that |
Oh if it's a 3.12 thing then yes feel free just to bump the version there |
ah OK, now it's showing up again :(
I'll mock a dataset |
all green! |
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.
Co-authored-by: Richard Höchenberger <richard.hoechenberger@gmail.com>
Thanks @drammock ! |
* upstream/main: [pre-commit.ci] pre-commit autoupdate (mne-tools#1006) [pre-commit.ci] pre-commit autoupdate (mne-tools#1002) allow missing sessions (mne-tools#1000) [pre-commit.ci] pre-commit autoupdate (mne-tools#1001)
WIP. Closes #992
Before merging …
docs/source/changes.md
)