Hi,
I have a problem running a specified loop. I’m working with the builder using a slider for my response.
I used this for my code component:
if(Schmerzen.ticks == '1'):
doSchmerzskalen = 1
else:
doSchmerzskalen = 0
if(Schmerzen.ticks == '2'):
doEmpfindungsskalen = 1
else:
doEmpfindungsskalen = 0
when I run the experiment there is no reaction but this failure notice:
2019-09-25 23:14:27.240 python[4199:398432] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
/Users/regina/Documents/Schmerz1_lastrun.py:352: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if(Schmerzen.ticks == '1'):
/Users/regina/Documents/Schmerz1_lastrun.py:356: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if(Schmerzen.ticks == '2'):
Could you please help me to fix it?
Thanks,
FaceIt