Skip to content

Remove numpy scalar from stream name representation for neuralynx - #1679

Merged
zm711 merged 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_neuralynx_numpy_stream_names
Apr 3, 2025
Merged

Remove numpy scalar from stream name representation for neuralynx#1679
zm711 merged 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_neuralynx_numpy_stream_names

Conversation

@h-mayorquin

Copy link
Copy Markdown
Contributor

This is part of #1678 but does not solve it completly.

@zm711 zm711 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just for full explanation in the PR this is due to the fact that numpy has changed how it represents strs such that they appear as np.str_ which are much harder to parse. Converting to a python values (floats or ints) will allow the header representation of this data to work regardless of the version of numpy.

@zm711
zm711 merged commit db9eca8 into NeuralEnsemble:master Apr 3, 2025
@zm711 zm711 added this to the 0.14.1 milestone Apr 3, 2025
@h-mayorquin
h-mayorquin deleted the fix_neuralynx_numpy_stream_names branch April 3, 2025 12:34
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