Skip to content

Commit

Permalink
Merge pull request #661 from int-brain-lab/wheel_alignment
Browse files Browse the repository at this point in the history
Wheel alignment
  • Loading branch information
mayofaulkner authored Oct 11, 2023
2 parents 2803838 + 65aa9a4 commit 3bdaf87
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ibllib/io/extractors/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _extract(self, sync=None, chmap=None, video_path=None, sync_label='audio',
# Can only use wheel alignment for left and right cameras
raise ValueError(f'Wheel alignment not supported for {self.label} camera')

motion_class = vmotion.MotionAlignmentFullSession(self.session_path, self.label, upload=True)
motion_class = vmotion.MotionAlignmentFullSession(self.session_path, self.label, sync='nidq', upload=True)
new_times = motion_class.process()
if not motion_class.qc_outcome:
raise ValueError(f'Wheel alignment failed to pass qc: {motion_class.qc}')
Expand Down
Loading

0 comments on commit 3bdaf87

Please sign in to comment.