You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user only change the status of the experiment from running to stop and from ready to running. Also can change the animal_id and the task_id.
61
+
The user only change the status of the experiment from running to stop and from ready to running. The user can aslo change the animal_id, the task_id, start_time and stop_time.
63
62
64
63
```python
65
64
# To start an experiment on a setup
@@ -97,20 +96,6 @@ experiment.Control.update1({
97
96
- All Control table operations are thread-safe
98
97
- Updates are protected by a thread lock to prevent race conditions
99
98
100
-
## Example Usage in Service Mode
101
-
102
-
```python
103
-
from ethopy.core.logger import Logger
104
-
105
-
# Initialize logger
106
-
logger = Logger()
107
-
108
-
# Logger will automatically:
109
-
# 1. Create an entry in Control table for this setup
110
-
# 2. Monitor Control table for status changes
111
-
# 3. Update setup status every 5 seconds
112
-
# 4. Execute tasks based on task_idx when status is 'running'
0 commit comments