From 62832f619e224b74a9394234cc0bc5cf2935afb5 Mon Sep 17 00:00:00 2001 From: bruno-f-cruz <7049351+bruno-f-cruz@users.noreply.github.com> Date: Sat, 2 Nov 2024 10:19:52 -0700 Subject: [PATCH] Fix robocopy function signature --- .../data_transfer/robocopy_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aind_behavior_experiment_launcher/data_transfer/robocopy_service.py b/src/aind_behavior_experiment_launcher/data_transfer/robocopy_service.py index bd58cee..677846c 100644 --- a/src/aind_behavior_experiment_launcher/data_transfer/robocopy_service.py +++ b/src/aind_behavior_experiment_launcher/data_transfer/robocopy_service.py @@ -81,7 +81,7 @@ def _solve_src_dst_mapping( raise ValueError("Destination should be provided when source is a single path.") return {source: Path(destination)} - def validate(self, *args, **kwargs): + def validate(self): if not shutil.which("robocopy"): logger.error("Robocopy command is not available on this system.") return False