-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect 'parent_recording' arg for multiprocessing when skipping kilosort 2.5 preprocessing #3617
Comments
Which version of spikeinterface are you using? We just want to make sure this is a current issue :) I think we got everything changed over. |
I am using the version 0.101.2. |
Was the dataset old? Once I know that then I can start digging. I'm wonder if we write out the json wrong. But I want to confirm that this isn't some old dataset that we are just reloading with an old name. |
The dataset is like 4 yo, and it was acquired with intan if that helps. |
Could you try loading the file after transferring just the intan file to a new folder. So we make sure there isn't any cache of json files that might be providing the wrong name. If the error still occurs in a clean folder with just the intan file then it's a bug for us. If that works then it means an old file was confusing things. |
It is always worth trying the most recent (because I can't remember when we switched form parent_recording to just recording. But I would try my other thing first and see what happens. |
If the problem is |
I moved the .dat file to a new empty folder, but still got the same error... |
Up to you @alejoe91 a global fix is probably safer just in case we do have older files floating around or other preprocessing with the old naming. I could try to track down where we are incorrectly writing the json if you think that would be better. Thanks @OlivierPeron we will work it on shortly :) |
@zm711 I think we still have |
and in a few preprocessors too! So my suggestion is we fix them and then have something like this when loading JSON files:
|
I thought we left those for backward compatability because we thought they wouldn't cause issues. But clearly that is not the case. I know we discussed which ones to changes and which to leave the same at Edinburgh, but it was too long ago now. |
Ah, I remember we changed all of them! But then I'm not sure why this is triggereing an error... |
I thought the parent was because for certain preprocessors we used it as provenance and didn't actually expose it to the other code. So parent in a more parent-child node system and that we tried to prevent its use at the api. But I guess we could change them and see if tests hold up. |
Also I'm at a seminar thing for the next couple days, so I won't be able to fix this at the moment (+/- this weekend if no one else gets to it). |
Hi everyone !
I was trying to launch kilosort 2.5 with
skip_kilosort_preprocessing = True
, which will use theTracePaddedRecording
class, which have anparent_recording
key in the__init__
part.I got the following error :
Is it something wrong on my side or should we change the
parent_recording
key?Thanks !!
The text was updated successfully, but these errors were encountered: