Move Probe Interface configuration files to external JSON files #481
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR refactors how probe configuration data is stored and managed across
Neuropixels 1.0
,Neuropixels 2.0
, andRHS2116
devices. The main changes involve externalizing probe interface files into JSON format and improving error handling around file operations.Key Changes
ProbeConfiguration
classes for better encapsulationProbeInterfaceFile
properties to manage external JSON configuration filesGenericPropertyConverter
for better property management in UIBreaking Changes
Calibration file properties have been moved:
ConfigureNeuropixelsV1
/ConfigureNeuropixelsV2
classes to their respectiveProbeConfiguration
classesConfiguration files are now stored externally:
ProbeInterfaceFile
propertyMigration Guide
For existing workflows:
Neuropixels 1.0f
andNeuropixels 2.0e/Beta
probes. Due to how the properties are organized forNeuropixels 1.0e
they cannot be automatically migrated.Fixes #366