Skip to content

Fix typing, deprecations, and update to Python3.10#414

Merged
chrishalcrow merged 4 commits intoSpikeInterface:mainfrom
alejoe91:final-deprecations
Mar 20, 2026
Merged

Fix typing, deprecations, and update to Python3.10#414
chrishalcrow merged 4 commits intoSpikeInterface:mainfrom
alejoe91:final-deprecations

Conversation

@alejoe91
Copy link
Member

Final deprecation cleaning and support for Python >= 3.10 (in sync with neo/spikeinterface)

@alejoe91 alejoe91 changed the title Add extra contacts_kargs deprecation and update to Python3.10 Fix typing, deprecations, and update to Python3.10 Mar 20, 2026
_default_shape_to_params = {"circle": "radius", "square": "width", "rect": "height"}


def generate_dummy_probe(elec_shapes: "circle" | "square" | "rect" = "circle") -> Probe:
Copy link
Member Author

Choose a reason for hiding this comment

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

This actually means union! So it doesn't make any sense!

Copy link
Member

@chrishalcrow chrishalcrow left a comment

Choose a reason for hiding this comment

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

Great!

@chrishalcrow chrishalcrow merged commit 7b496b2 into SpikeInterface:main Mar 20, 2026
9 checks passed
alejoe91 added a commit to alejoe91/probeinterface that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants