AllenSDK icon indicating copy to clipboard operation
AllenSDK copied to clipboard

Mesoscope uploads should track Face movie

Open wbwakeman opened this issue 2 years ago • 3 comments

Tracked in a JIRA issue DT-3381

This is a simple LIMS strategy modification.

The Mesoscope session upload (MesoscopeUploadStrategy) should track a well known file of type RawFaceTrackingVideo for the file with the “face_tracking” key in the platform.json file.

Add another section here:

http://stash.corp.alleninstitute.org/projects/TECH/repos/lims/browse/app/strategies/mesoscope_upload_strategy.rb#207-219

Yes, the format of the keys is different for each kind of file: “eye_tracking_video” vs “behavior_video” vs “face_tracking”. But at least there is commonality in the well know file type names: RawEyeTrackingVideo, RawBehaviorTrackingVideo, RawFaceTrackingVideo .

In fact, probably need the same thing here: http://stash.corp.alleninstitute.org/projects/TECH/repos/lims/browse/app/strategies/deepscope_upload_strategy.rb#213-225

And maybe here...although I question whether any rig using this upload mechanism would have the "Face" cameras anyway http://stash.corp.alleninstitute.org/projects/TECH/repos/lims/browse/app/strategies/ophys_session_upload_strategy.rb#217-224

After this is implemented and deployed, any failed jobs in the FACE_TRACKING_QUEUE should be restarted.

wbwakeman avatar Mar 08 '22 16:03 wbwakeman

Update: Wayne did this and merged it. After the next LIMS release (date TBD), someone should restart all failed FACE_TRACKING_QUEUE jobs. http://lims2/workflow_charts/?iq[]=491928256 (Someday someone will probably need to create RawFaceTrackingVideo records for all Mesoscope sessions uploaded prior to this LIMS release and start Face Tracking jobs for those too, but I'll leave that for someone else to plan)

wbwakeman avatar Mar 11 '22 03:03 wbwakeman

Note: this cannot be done until there is another LIMS release.

danielsf avatar Mar 11 '22 18:03 danielsf

What does it to check Wayne's work is good enough? Chris is checking it now. Can be closed pending Chris's finding.

aimichaelwang avatar Jun 29 '22 20:06 aimichaelwang