Skip to content

Commit baac90c

Browse files
committed
flake
1 parent baf127e commit baac90c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ibllib/io/extractors/video_motion.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,8 @@ def fix_keys(alf_object):
431431

432432
alf_path = self.session_path.joinpath('alf')
433433
wheel_path = next(alf_path.rglob('*wheel.timestamps*')).parent
434-
wheel = (fix_keys(alfio.load_object(wheel_path, 'wheel')) if location == 'SDSC' else alfio.load_object(wheel_path, 'wheel'))
434+
wheel = (fix_keys(alfio.load_object(wheel_path, 'wheel')) if location == 'SDSC'
435+
else alfio.load_object(wheel_path, 'wheel'))
435436
self.wheel_timestamps = wheel.timestamps
436437
# Compute interpolated wheel position and wheel times
437438
wheel_pos, self.wheel_time = wh.interpolate_position(wheel.timestamps, wheel.position, freq=1000)

ibllib/qc/dlc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def load_data(self, download_data: bool = None) -> None:
108108
self.data['dlc_coords'] = dlc_coords
109109

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

114114
# load pupil diameters

0 commit comments

Comments
 (0)