You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used spyking-circus to "sort" a single unit which gave me a single template.
I was having trouble to load this dataset into phy and I tracked down the problem to this line
The problem arise because read_array returns an array of shape (1,91,4) and then the squeeze method changes it to just (91,4).
And then this line gives the error
after 'Loading the inverse of the whitening matrix.'
If I remove the 'squeze' I can load this dataset of only one template, and also I didn't have problems with any other dataset sorted with spyking-circus, but I can not load anymore datasets sorted with kilosort2.5.
With kilosort output it fails in this line, just after 'Start capturing exceptions'
Hi,
I used spyking-circus to "sort" a single unit which gave me a single template.
I was having trouble to load this dataset into phy and I tracked down the problem to this line
phylib/phylib/io/model.py
Line 476 in 3e4dfb9
The problem arise because read_array returns an array of shape (1,91,4) and then the squeeze method changes it to just (91,4).
And then this line gives the error
phylib/phylib/io/model.py
Line 710 in 3e4dfb9
just after 'Loading templates' and 'Templates are sparse'
I tried exportingfrom spyking-circus to phy without sparse matrices and now it fails in this line
phylib/phylib/io/model.py
Line 434 in 3e4dfb9
after 'Loading the inverse of the whitening matrix.'
If I remove the 'squeze' I can load this dataset of only one template, and also I didn't have problems with any other dataset sorted with spyking-circus, but I can not load anymore datasets sorted with kilosort2.5.
With kilosort output it fails in this line, just after 'Start capturing exceptions'
phylib/phylib/io/model.py
Line 647 in 3e4dfb9
The text was updated successfully, but these errors were encountered: