-
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
behavior session 875471358 has incorrect stimulus and errors on loading the dataset #2220
Comments
This session appears to be one of the ones mentioned in this issue: #2202 |
Just want to make a note that this issue still exists even when the |
@matchings what do you want to do about this session since the incorrect stimulus was shown? |
Also please if possible break down an issue into smallest possible. Here you have included 2 separate issues in 1: an issue about incorrect session type and a separate issue about not being able to load session |
The reason why retrieving this behavior session is failing is because all of the ophys experiments failed for this behavior session. And there is no "behavior-only" nwb file associated with it. So there is no nwb file to retrieve. @matchings how do you want to deal with it? |
@aamster There should be a 'behavior-only' NWB file for every behavior session experienced by any mouse that has ophys data. This behavior session (875471358) is from mouse 449653, which has ophys data listed in the My expectation is that any behavior sessions that do not have ophys data should have an empty list in the There are other behavior sessions that took place on an ophys rig, but do not have passing ophys data for that session (indicated by an empty list or NaN in the Here is a gist showing my exploration that led to the statements above: https://gist.github.com/matchings/670175b68893d020e0ec2c3983d79feb I think the real issue here is that metadata in the This issue probably also applies to another 8 sessions documented in VBA as lacking behavior-only NWB files: AllenInstitute/visual_behavior_analysis#824 |
I think this should probably be tracked in a new issue that describes the actual problem here, which is that behavior-only NWBs are missing when they shouldnt be. Regarding the "incorrect stimulus set", i think this is actually not a problem in this case. |
Behavior session 875471358 is the only behavior session I know of which should have a behavior-only nwb file but doesn't. Only behavior sessions without ophys data should have a behavior-only nwb file. Using the latest behavior session table:
I checked the behavior sessions in the vba issue you linked to above, and at least using branch 2.13.5, I could not reproduce the issue. I could instantiate BehaviorSession for all except 875471358. FYI all these sessions which couldn't instantiate lack eye tracking data, which we might have fixed in 2.13.5 so that they can be instantiated. I will create a behavior only nwb file for session 875471358. |
Update: found out that there was a behavior-only nwb file for this session but for some reason it doesn't have a published_at date which makes it excluded. I will give it a published_at date. |
@aamster great, thanks, that all makes sense. |
behavior_session_id = 875471358 has a few issues with it.
First, the behavior_session_table says the session_type is OPHYS_6_images_A, however that session_type should not exist for VisualBehaviorMultiscope experiments because the novel image set (which is supposed to be shown on OPHYS_6) should be image set B, not A. This is either a mistake in the stimulus that was run during the experiment, or a mistake in how the session is labeled in the behavior_session_table.
Second, when I try to load the behavior_session dataset object for this behavior_session_id, i get an error, shown below.
The text was updated successfully, but these errors were encountered: