-
Notifications
You must be signed in to change notification settings - Fork 243
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
KeyError: 'badframes' #239
Comments
Resolved by deleting the already present suite2p folder and starting fresh. |
The KeyError is happening because your last run of suite2p is skipping registration, likely because as you mentioned it found some pre-existing files. Do you know if your previous run was done until the end, or was it aborted before it could finish? Essentially what happens is that if you abort the run before it can finish, suite2p never gets to the point of writing the entry ['badframes'] in the output ops file, so that when it tries to call this entry it creates an error. However, if your previous trial was complete, then it means that your new run is overwriting the ops output file with one that lacks ['badframes'], which shouldn't be happening and should get fixed. Let us know so we can try to fix this! |
thanks ronan for figuring that out, I've fixed it so that it's now backward-compatible hopefully |
Updated everything to newest github version and getting the following error:
Might be related to #181
The text was updated successfully, but these errors were encountered: