-
Notifications
You must be signed in to change notification settings - Fork 150
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
Visual Behavior release data has bad session type #1975
Comments
I think I have demonstrated:
so I suspect this might be a VBA problem (@alexpiet @dougollerenshaw):
code (using
|
I created a VBA issue: AllenInstitute/visual_behavior_analysis#722 |
@alexpiet @djkapner Loading behavior sessions from the SDK directly also shows cases where I don't think this is a VBA issue. This may be a case where @dougollerenshaw needs to edit the pkl files to correct the session_type so that it conforms to our expected naming scheme. |
Here's what is happening:
which creates a table of every behavior session ever. 27,000. To query the mtrain table takes 1.5 seconds.
|
For manually updating mtrain, we should run these 9 commands:
generated from:
|
Wayne ran these mtrain updates, and this is fixed. |
@djkapner This is a great solution except the pattern is |
@alexpiet |
Ok thanks @djkapner. @dougollerenshaw, can you update the pkl files so the session type is consistent? |
looks like 36 files:
|
What I did not realize is that the pkl basename will change. So, I think there is an additional step to:
maybe we should rehash this in standup tomorrow to be sure. https://app.zenhub.com/files/35236880/1b84cd23-ad6b-4f39-b4f1-11daa945a455/download |
updated pkl files have been moved to production location. Each directory now has 3 copies of the pkl file. The original one from 2018, one that was replaced on Feb 22, 2021 (".bak") and the one replaced today (".bak2"). e.g.
I don't think I understand this step. What wkf name has changed?
|
You're right, I guess the basename has not changed. Somehow, I thought those last 10-11 characters before |
These are the 5 mtrain update statements:
|
mtrain records updated now. Will restart Behavior NWB file creation for the 36 |
confirmed. no longer getting lower-case |
The 36 NWB files have been regenerated |
This looks resolved from my end. Anything else before the issues gets closed? |
Describe the bug
When loading the list of training sessions that will be released in the march data release, there are some sessions that do not have the correct format of session type. For instance they have '1_gratings' instead of 'TRAINING_1_gratings'. It is limited to two donor_ids: 744911447, 722884873
@dougollerenshaw @matchings Says this could be an issue in the VBA repo
To Reproduce
table = loading.get_filtered_behavior_session_table(release_data_only=True) table.session_type.unique()
Actual Behavior
Environment (please complete the following information):
Remaining work 3/12/2021
The text was updated successfully, but these errors were encountered: