@@ -365,20 +365,20 @@ def synchronize(self):
365365 # run video synchronization first
366366 for recording , views in self .sessions .items ():
367367 rprint (f"[bold green]Synchronizing recording videos:[/bold green] { recording .name } " )
368- ref_video = self . path / views [self .sync .ref_view ]
368+ ref_video = views [self .sync .ref_view ]
369369 ref_crop = self .view_config [self .sync .ref_view ].get_crop (self .sync .ref_crop )
370370 sync_targets = {}
371371 for view , video in views .items ():
372372 if view == self .sync .ref_view :
373373 continue
374374 crop = self .view_config [view ].get_crop (self .sync .ref_crop )
375- sync_targets [view ] = (self . path / video , crop )
375+ sync_targets [view ] = (video , crop )
376376 synchronize_videos (self .sync , (ref_video , ref_crop ), sync_targets , fps = self .fps )
377377 # run ephys synchronization if available
378378 if self .ephys_sessions and self .ephys_param :
379379 for recording , ephys_file in self .ephys_sessions .items ():
380380 rprint (f"[bold green]Synchronizing recording ephys:[/bold green] { recording .name } " )
381- ref_video = self .path / self . sessions [recording ][self .sync .ref_view ]
381+ ref_video = self .sessions [recording ][self .sync .ref_view ]
382382 ref_crop = self .view_config [self .sync .ref_view ].get_crop (self .sync .ref_crop )
383383 ephys_path = self .path / ephys_file
384384 synchronize_ephys (self .sync , (ref_video , ref_crop ), ephys_path , self .ephys_param , fps = self .fps )
0 commit comments