-
Notifications
You must be signed in to change notification settings - Fork 47
Fix OpenEphys interface issue with multiple probes of which some are disabled #308
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
Conversation
|
Thanks @vigji If you have a settings file with disabled probes it would be great if you added it to the |
|
Note that tests are failing becuase probably the |
|
Indeed, I just checked data from the old setup and indeed it is a 0.7 new feature! yess, I’ll fix this and add a test. |
|
Ok, there should now be new assets and tests for multiple conditions of enabled/disable probes. Let me know how this looks! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
==========================================
+ Coverage 89.38% 89.42% +0.03%
==========================================
Files 10 10
Lines 1885 1891 +6
==========================================
+ Hits 1685 1691 +6
Misses 200 200 ☔ View full report in Codecov by Sentry. |
|
Can you run pre-commit locally? The automatic pre-commit fails because it cannot push to organizations |
Co-authored-by: Alessio Buccino <[email protected]>
Co-authored-by: Alessio Buccino <[email protected]>
|
Should be good to go now! |
|
Wait before merging, I am having an issue. I suspected there was something wrong as I expected this behavior to start happening with new version <SETTINGS>
<INFO>
<VERSION>0.6.7</VERSION>
...So I assumed I was incorrect and that was the version. However, testing the PR on some files recorded with the non-updated system in the lab, I get same version tag and no So, it seems that OEphys is writing Definitively to be checked before merging this and causing troubles to anyone recording with |
|
You could also simply check if the |
|
That's what I am doing now locally but I liked the idea of keeping the logic related explicitly to versions. If that is ok I'll push that - although I still want to understand what is happening with the |
alejoe91
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.
@vigji see my last comment
|
I actually fixed the issue with version check, which as I mentioned I find more explicit and nicer, if you agree I'll leave it this way! |
Co-authored-by: Alessio Buccino <[email protected]>
|
Thanks @vigji for this great addition! Merging :) |
PR addressing this issue: SpikeInterface/spikeinterface#3539.
Very minimal fix, simply filtering the
XMLnodes corresponding to enabled probes.Not sure if this is to be tested? I assume there would be the need for custom asset data, have not looked deeply into it.