Dear Michael,
Apologies for the late reply. Thank you for your advice! I implemented the code you suggested. It seems to partially work as expected…but the experiment intermittently crashes and throws the following error:
corrAns = responses[indices[0]]
IndexError: list index out of range
Do you know what might be going wrong…?
Thanks again,
Lyam