I am having some issues with counterbalancing my experiment online. I have followed the instructions for counterbalancing online. However, every time I try to run the experiment I get the error:
TypeError: not all arguments converted during string formatting
I googled this error and it said it is to do with the integer not being a string value and they have various solutions but they don’t seem to work. I was wondering if anyone else had this issue and what they did to solve it.
This is my current code & conditions property where I want the code to work:
Thank you so much for your suggestion but it’s still not working. I have added all image stimuli utilised into that tab but is there anything else I need to add to it?
I thought it might be something wrong with code I wrote beforehand as this is the error that comes up:
if expInfo[‘participant’] % 2 :
TypeError: not all arguments converted during string formatting