File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments