Open Shrh627 opened 9 months ago
Hi,
This problem is related to NEO. Can you open the same issue there? It might be a parsing problem.
Cheers, Alessio
Yeah I think that the problem is the tcat
notation. The parser expects a t{integer}
in the name. How did you generate those files? Did you rename them manually?
These files are the output of CatGT, and I didn't rename them manually. Although I manually removed the tcat
notation from the file name, I encountered the same error.
Ok, we'll try to push a fix on our side. In the meanwhile (to make it work), you can just replace tcat
with t0
I replaced tcat
with t0
, but the error persists, remaining unchanged
I see. Let's move the discussion to NEO. please open an issue there
Hi, I am happening to the same problem and hope yours have been settled down. My stream_id is "Pt01.imec0.lf" but the warning turns out to be "key (0, 'imec0.ap') is already in the signals_info_dict". Do you have any suggestions?
@cfshang can you provide the names of all the files in your case to provide a better understanding of your situation?
hi, i got the same issue.
basically, in the same base folder, i have four raw files: name_g0_t0.imec0.ap.bin
, name_g0_t0.imec0.lf.bin
, and imec1
. then i have catgt output folder catgt_name_g0
, in which i have bunch of files with name_g0_tcat.imec0.ap.bin
, name_g0_tcat.imec0.lf.bin
, and imec1
.
However, the only file i want to read with read_spikeglx
is name_g0_t0.imec0.ap.bin
, and i pass this name to stream_name
, problem persists:
KeyError: (1, 'imec0.lf')
*running spikeinterface 0.101.0
@tabedzki @a-zmz Sorry to be late to reply. I have got it resolved by following someones's suggestion to return to the parent folder, like removing the \Pt01\ in MainDir below. You may have a try.
MainDir='E:\xxxxx\Pt01\';
FileLoad= dir([MainDir,'*','Pt01.imec0.ap.bin*']); %AP
Hi, I had the exact same error: key (0, 'imec0.ap') is already in the signals_info_dict".
While debugging the code, I noticed that the spikeglxneo
function not only looks in the specified folder but also in its subfolders. If you have more ap
or lf
files in those subfolders, it throws that error.
What I did was place my imec0.ap
and imec0.lf
data in a folder called RawData
where there are no other files or folders. This way, it doesn't give an error.
Hope this helps!
Hi, I am currently using GLX extractor, for posterior kilosort3 processing. The spikeinterface version is 0.98.1. The read_spikeglx function throws the following error.
As shown in the
ls
output above, there are two data and two meta files in the input directory, which I aim to concatenate afterwards via: spikeinterface.concatenate_recordingsCould you please help me to understand what the problem is? I’ve also attached the meta file.
Your assistance is greatly appreciated.
Thank you, Shahriar. sh0123br200bB_g0_tcat.imec0.ap.meta.txt sh0123br200_bigopenfield_dim_g0_tcat.imec0.ap.meta.txt