Skip to content

Commit 157fd84

Browse files
authored
Merge pull request #442 from AllenNeuralDynamics:fix-launcher-nested-subject
Watchdog destination folder is now nested by animal
2 parents cc35709 + cdd54f9 commit 157fd84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/aind_behavior_vr_foraging/launcher.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ def experiment(launcher: Launcher) -> None:
9292

9393
# Watchdog
9494
launcher.copy_logs()
95+
watchdog_settings = WatchdogSettings()
96+
watchdog_settings.destination = Path(watchdog_settings.destination) / launcher.session.subject
9597
WatchdogDataTransferService(
9698
source=launcher.session_directory,
97-
settings=WatchdogSettings(),
99+
settings=watchdog_settings,
98100
aind_data_schema_session=ads_session,
99101
session_name=session.session_name,
100102
).transfer()

0 commit comments

Comments
 (0)