Skip to content
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

New spikeglx and probeinterface #169

Merged
merged 7 commits into from
Sep 16, 2023

Conversation

ttngu207
Copy link
Contributor

Fix #168

@ttngu207 ttngu207 requested a review from kabilar July 26, 2023 20:01
@kabilar
Copy link
Collaborator

kabilar commented Jul 27, 2023

Thanks for the discussion, @ttngu207. You have tested this with the meta file, and we will merge once we test these changes with the entire pipeline by triggering spike sorting.

@ttngu207 ttngu207 requested a review from JaerongA July 31, 2023 17:41
@ttngu207 ttngu207 marked this pull request as ready for review August 9, 2023 00:16
JaerongA
JaerongA previously approved these changes Sep 14, 2023
Comment on lines +117 to +118
electrode_layouts = probe_geometry.build_npx_probe(
**{**probe_params, **probe_type}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
electrode_layouts = probe_geometry.build_npx_probe(
**{**probe_params, **probe_type}
electrode_layouts = probe_geometry.build_npx_probe(
**probe_params, **probe_type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested change would error out if there are duplicating keys between the two dictionaries.
The original approach is more robust in the sense that it would merge dictionaries.

Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
Copy link
Collaborator

@kabilar kabilar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ttngu207!

@kabilar kabilar merged commit 3b8efe5 into datajoint:main Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Compatibility with SpikeGLX 20230202-phase30 or later
4 participants