Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Apr 10, 2024
1 parent baf127e commit baac90c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ibllib/io/extractors/video_motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ def fix_keys(alf_object):

alf_path = self.session_path.joinpath('alf')
wheel_path = next(alf_path.rglob('*wheel.timestamps*')).parent
wheel = (fix_keys(alfio.load_object(wheel_path, 'wheel')) if location == 'SDSC' else alfio.load_object(wheel_path, 'wheel'))
wheel = (fix_keys(alfio.load_object(wheel_path, 'wheel')) if location == 'SDSC'
else alfio.load_object(wheel_path, 'wheel'))
self.wheel_timestamps = wheel.timestamps
# Compute interpolated wheel position and wheel times
wheel_pos, self.wheel_time = wh.interpolate_position(wheel.timestamps, wheel.position, freq=1000)
Expand Down
2 changes: 1 addition & 1 deletion ibllib/qc/dlc.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def load_data(self, download_data: bool = None) -> None:
self.data['dlc_coords'] = dlc_coords

# load stim on times
trial_path = next(alf_path.rglob(f'*trials.table*')).parent
trial_path = next(alf_path.rglob('*trials.table*')).parent
self.data['stimOn_times'] = alfio.load_object(trial_path, 'trials', namespace='ibl')['stimOn_times']

# load pupil diameters
Expand Down

0 comments on commit baac90c

Please sign in to comment.