Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not go to Hydrate State from Pretrial State #298

Open
alexevag opened this issue Jun 20, 2022 · 1 comment
Open

Do not go to Hydrate State from Pretrial State #298

alexevag opened this issue Jun 20, 2022 · 1 comment

Comments

@alexevag
Copy link
Contributor

In the MatchPort/MatchToSample Experiments if someone uses the init_ready condition at state Pretrial and the mouse doesn't initiate the experiment to move on the next state and time pass then its goes directly to Offtime without checking if mouse had drank the min_reward.

So I think it should go to InterTrial from Pretrial when the time pass or check the min_reward at the Pretrial state.

@olakiril
Copy link
Collaborator

ok either we move all the conditions checked in next function at PreTrial, or as you said instead of moving to Ofttime, move to intertrial and let it handle it there.

alexevag added a commit to alexevag/PyMouse that referenced this issue Jul 1, 2022
Issue: ef-lab#298 (comment)

When the is_sleep_time is True go to InterTrial to check if mouse is Hydrated or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants