Skip to content

Commit

Permalink
Merge pull request #301 from alexevag/patch-2
Browse files Browse the repository at this point in the history
Instead of Offtime go to InterTrial to check if it is hydrated
  • Loading branch information
olakiril authored Jul 12, 2022
2 parents 07da96d + 2b32bd9 commit 80ab340
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Experiments/MatchPort.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def next(self):
if self.is_stopped():
return 'Exit'
elif self.beh.is_sleep_time():
return 'Offtime'
return 'InterTrial'
elif self.resp_ready:
return 'Trial'
else:
Expand Down
2 changes: 1 addition & 1 deletion Experiments/MatchToSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def next(self):
if self.is_stopped():
return 'Exit'
elif self.beh.is_sleep_time():
return 'Offtime'
return 'InterTrial'
elif self.resp_ready:
return 'Cue'
else:
Expand Down
1 change: 0 additions & 1 deletion core/Experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ class StateOnset(dj.Part):
# Trial state timestamps
-> Trial
time : int # time from session start (ms)
---
state : varchar(64)
"""

Expand Down

0 comments on commit 80ab340

Please sign in to comment.