Skip to content
Snippets Groups Projects
Unverified Commit 8fabc239 authored by Jari Pronold's avatar Jari Pronold Committed by GitHub
Browse files

Upadte reading in spikes from numpy arrays

With more recent versions of numpy (changed in version 1.16.3, see [here](https://numpy.org/devdocs/reference/generated/numpy.load.html)) the default behavior of reading in numpy arrays changed from allow_pickle=True to allow_pickle=False. If we want to read in the processed spikes, which are stored in numpy arrays, across numpy versions we need to manually set it to True.

In general it is stated:
> Warning
> Loading files that contain object arrays uses the pickle module, which is not secure against erroneous or maliciously constructed data. Consider passing allow_pickle=False to load data that is known not to contain object arrays for the safer handling of untrusted sources.

Thus we should about another dataformat in the long run and consider this a temporary fix.
parent 796d840e
No related branches found
No related tags found
1 merge request!17Update reading in spikes from numpy arrays
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment