-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix behavior modality in upload manifest #1122
Conversation
@alexpiet
I know that you thought the point 2 is not an issue. Please make changes to the point 1 to make the modality check more robust. I suggest we directly check the folder empty for each modality instead of using the session streams. |
Why is the video only added to the stream modalities when there is an end time, but the FIP is added before there is an end time? |
It's a history issue. You can also change the video modality to be like the FIP
|
@XX-Yin what about this update |
This works.
|
Those seem like separate issues from the upload manifest modality. |
At least the first one is directly associated the manifest file as the code is using the Session Metadata to get the modalities. |
But I'm not setting the start time for the camera or photometry in either the metadata or the window object. |
If the previous session has the |
I just tried it, and that does not happen |
Although that may be a result of this bug I just found: #1123 |
Did you click the start recording (not the preview)? |
No, I recorded video through the FIP workflow. I just fixed #1123. I will check in 446 and just record video |
Commented on the wrong PR: Ok, you are right that if you run a session with the camera, and then start a new session without the GUI, then it incorrectly lists behavior-video as a modality in the manifest and in the session metadata. I'll make a separate issue, since I don't have time to fix that right now. Lets merge this fix in, since it will effect every session |
@XX-Yin do you have any remaining concerns? |
@alexpiet We can first merge this and fix other issues |
Pull Request instructions:
Describe changes:
Always adds the behavior modality, instead of checking stream_modalities which had behavior removed as a modality
What issues or discussions does this update address?
Describe the expected change in behavior from the perspective of the experimenter
Describe any manual update steps for task computers
Was this update tested in 446/447?