From 872decfde8e43ed6ebc7955fdb8fe3c09ae75efe Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Wed, 4 Oct 2023 09:33:39 +0200 Subject: [PATCH] Update commands.py --- iblrig/commands.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iblrig/commands.py b/iblrig/commands.py index f88f82731..3901b290b 100644 --- a/iblrig/commands.py +++ b/iblrig/commands.py @@ -93,12 +93,15 @@ def transfer_data_cli(): transfer_data(**vars(args)) -def transfer_video_data(local_path=None, remote_path=None, dry=False): +def transfer_video_data(local_path: Path = None, remote_path: Path = None, dry: bool = False): # If paths not passed, uses those defined in the iblrig_settings.yaml file rig_paths = get_local_and_remote_paths(local_path=local_path, remote_path=remote_path) local_path = rig_paths.local_subjects_folder remote_path = rig_paths.remote_subjects_folder assert isinstance(local_path, Path) + assert isinstance(remote_path, Path) + logger.info(f'Local Path: {local_path}') + logger.info(f'Remote Path: {remote_path}') for flag in list(local_path.rglob('transfer_me.flag')): session_path = flag.parent