From 814460c7a060af4559858e9dd0a078964ede773b Mon Sep 17 00:00:00 2001 From: han-lab Date: Mon, 19 Feb 2024 21:49:01 -0800 Subject: [PATCH] change warmup to string to match the GUI... --- code/aind_auto_train/schema/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/aind_auto_train/schema/task.py b/code/aind_auto_train/schema/task.py index 8bf4a76..446d91a 100644 --- a/code/aind_auto_train/schema/task.py +++ b/code/aind_auto_train/schema/task.py @@ -150,7 +150,7 @@ class DynamicForagingParas(TaskParas): LeftValue_volume: float = Field(3.00, title="Left reward size (uL)") # Warmup - warmup: bool = Field(False, title="Warmup master switch") + warmup: str = Field('off', title="Warmup master switch") warm_min_trial: int = Field(50, title="Warmup finish criteria: minimal trials") warm_max_choice_ratio_bias: float = Field(0.1, title="Warmup finish criteria: maximal choice ratio bias from 0.5") warm_min_finish_ratio: float = Field(0.8, title="Warmup finish criteria: minimal finish ratio")