So I did have a look, yet my template doesn’t work yet.
First, I get an error message:
Traceback (most recent call last):
File "C:\Users\mytixa17\Desktop\Food_psyexp_example\test_choice.py", line 280, in <module>
pixCond[""].extend(filterExemplar(pictures))
File "C:\Users\mytixa17\Desktop\Food_psyexp_example\test_choice.py", line 108, in filterExemplar
if mouse.isPressedIn('image') in pictures:
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\event.py", line 872, in isPressedIn
return any(wanted & pressed) and shape.contains(self)
AttributeError: 'str' object has no attribute 'contains'
Then, I am not sure I understand the code… That is, I do not know if the created lists are correct and if I will be, in the end, able to do what I want (that is show in a routine only the images clicked in a previous routine).