Skip to content

Commit

Permalink
Instead of go to Offtime go InterTrial at is_sleep_time check
Browse files Browse the repository at this point in the history
Issue: ef-lab#298 (comment)

When the is_sleep_time is True go to InterTrial to check if mouse is Hydrated or not
  • Loading branch information
alexevag committed Jul 1, 2022
1 parent e61f19d commit 561b992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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

0 comments on commit 561b992

Please sign in to comment.