psychopy.org | Reference | Downloads | Github

Getting inaccurate response.corr in Builder

If this template helps then use it. If not then just delete and start from scratch.

OS(e.g. Mac):
Psychoipy version(e.g. 1.85.2.x):
Standard Standalone? (yes):
What are you trying to achieve?:
I have gotten a message after an experiment in builder without using code component as follows and then have some trouble in inaccurate response0.corr though getting an accurate response0.keys in excel. Please tell me how to get accurate response0.corr.

What did you try to make it work?:

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

FutureWarning:elementwise comparison failed;returning scalar                  
instead,but in the future will perform elementwise comparison
if (response0.keys == str(correctAns0) or (response0.keys == correctAns0):

In your conditions file, what do entries in the correctAns0 column look like?

In my conditions file of excel, the top of column is the name, correctAns0, and the following is the stimulus, number(0~9).

Hi Michael,

I set a column which shows the correct response keys answers in the condition file.
All seems good, the column of the correct answers was recorded, also the actual key responses.
But when the session ends, the program showed a warning as Iiina wrote at the beginning. I do not understand what this warning means, everything seems good except the warning. I want to learn something as whether this will affect Psychopy’s running or the reason.
Your reply will be very helpful.

Hu