Skip to content
Discussion options

You must be logged in to vote

Hi @ritu9901, I think what you need to do is move the logic from the else block into a conditional node, which will go in your loop timeline after pgs. So your looping timeline will be something like [pgs, new_trial_conditional]. Then on each iteration of the loop, the pgs trial will run, then the conditional node will determine whether the additional trial should run or not before the loop continues.

Also, I don't think you want to use the compareKeys function in your if statement - see my comment about that here.

I hope this helps! Let us know if you need more guidance.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ritu9901
Comment options

@becky-gilbert
Comment options

@ritu9901
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants