Dear int-brain-lab,
I created an analysis pipeline with ibllib to plot peri_event_time_histogram after getting spike sorting results from kilosort 4, manually curating on phy and removing duplicated spikes with spikeinterface's find_duplicated_spikes.
This pipeline works fine under my old virtual environment (python=3.10.14, numpy=1.26.4, scipy=1.12.0, ibllib=2.35.1, matpotlib=3.8.4 ). However, after I created a new virtual environment to have latest version of numpy and ibllib, I saw this error
ValueError: Maximum allowed size exceeded
when calling the function peri_event_time_histogram if the size of spike array exceeds 70000 (no error returned if the array size is smaller than that).
Below is my current coding environment
Desktop (please complete the following information):
- Windows 11
- Visual Studio Code 1.106.2
- Python=3.12.12
- numpy=2.2.0
- scipy=1.16.3
- ibllib=3.4.1
- matplotlib=3.10.7
Is this a bug or my own mistake? Has anyone had this issue before?