Skip to content

Commit

Permalink
Update src/spikeinterface/core/core_tools.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zach McKenzie <[email protected]>
  • Loading branch information
h-mayorquin and zm711 authored Jun 17, 2024
1 parent a014e5e commit da99a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/core_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def default(self, obj):
if isinstance(obj, np.dtype):
return np.dtype(obj).name

# This will transform to a sring canonical representation of the dtype (e.g. np.int32 -> 'int32')
# This will transform to a string canonical representation of the dtype (e.g. np.int32 -> 'int32')

if isinstance(obj, type) and issubclass(obj, np.generic):
return np.dtype(obj).name
Expand Down

0 comments on commit da99a89

Please sign in to comment.