Looping timeline is not working to repeat a trial missed by the participant. #1670
-
Dear All, I am trying to present a trial at the end of a block of trials, when a participant fails to respond to a trial within the trial duration. I add elements to an empty list called missed each time data.key_press is null. Here is a trial:
This is the trial that needs to be presented when the participant misses a trial.
Then, I run a looping timeline to check the length of the list missed. If the length of the missed list is greater than 0, it returns true and runs the timeline called missed_hl.
This works perfectly when the participant misses 1 or more trials and it repeats it at the end of the trial. However, the issue that I am facing is that when the participant does not miss any trial in a particular block, it presents the timeline missed_hl to the participant once and then ends the block. How can I fix it? Any inputs is highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @prashantig25, is this the same question that you asked here? If so, just wanted to let you know that I replied on that thread (here). |
Beta Was this translation helpful? Give feedback.
Hi @prashantig25, is this the same question that you asked here? If so, just wanted to let you know that I replied on that thread (here).