-
Notifications
You must be signed in to change notification settings - Fork 86
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
ElectrodesTable #1890
base: dev
Are you sure you want to change the base?
ElectrodesTable #1890
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1890 +/- ##
===========================================
- Coverage 92.84% 82.58% -10.26%
===========================================
Files 28 28
Lines 2755 2780 +25
Branches 716 721 +5
===========================================
- Hits 2558 2296 -262
- Misses 127 384 +257
- Partials 70 100 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@rly This is at the point where everything works on my end, I added some notes for future reference, and should be good to go. Let me know what you think. Let's see if we can release the schema asap after merging the electrodes schema |
@@ -1,13 +1,18 @@ | |||
# PyNWB Changelog | |||
|
|||
## PyNWB 3.0.1 (February 26, 2025) |
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.
please bump to PyNWB 3.1.0 as this is a minor change, not a bug fix
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.
this will also be part of supporting NWB schema 2.9.0
@@ -1150,16 +1150,6 @@ def _tablefunc(table_name, description, columns): | |||
return t | |||
|
|||
|
|||
def ElectrodeTable(name='electrodes', |
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.
This might break downstream code. Hopefully not because people should not be using this function, but it is not conventionally marked as private with leading underscores, so they might. What do you think about changing this to something like:
def ElectrodeTable(name='electrodes',
description='metadata about extracellular electrodes'):
warn("The ElectrodeTable convenience function is deprecated. Please create a new instance of the ElectrodesTable class instead.", DeprecationWarning)
return ElectrodesTable()
Motivation
What was the reasoning behind this change? Please explain the changes briefly.
How to test the behavior?
Checklist
flake8
from the source directory.