相关文章推荐

I’m trying to build an experiment with a mouse response. There are two text fields that are automatically generated from the excel list. People hear a sound and have to click on one of the words.

So far that works, but once I test the experiment and click on one of the words, it exits. I’ve tried pretty much all the settings there are for the mouse response, without success.

This is the error message that I get:

    if obj.contains(mouse):
AttributeError: 'str' object has no attribute 'contains'

How can I get this to work?

I get a similar error:

if obj.contains(resp_mouse):
AttributeError: ‘list’ object has no attribute ‘contains’

conditions.xlsx (8.4 KB)
image702×449 33.7 KB I had a mistake, now I fixed it: in Clickable stimuli= target (not target_x from excel), however I get the same error…

if obj.contains(resp):
AttributeError: ‘list’ object has no attribute ‘contains’

fig2683×519 35.8 KB fig1760×314 17.8 KB

I also tried to create a polygon…

 
推荐文章