I’ve been trying to create the AX-CPT task with the builder and the coder. To make life simpler, I decided to try it only on the coder. I’ve gotten to a point where it all works great except when I try to elicit a Go/No-Go type response with the corrAns set to ‘None’.
In the attached trial types excel sheet you’ll see how I wrote ‘None’ as a correct answer for the non AX trials. Whenever I reach a trial that is not AX the experiment shuts down with this error:
TypeError: float argument required, not list
If I replace ‘None’ with an actual keypress the program works fine. But, I don’t want to elicit a response when it’s a non AX task.
I’ve got the probabilities already set in the excel and the randomizer method in the trial ensures that I pick out from a ‘deck of cards’. So… I’m so close to getting this right.
I can’t get the feedback routine to work either. I want it to provide positive feedback when they got the answer correct and negative feedback when incorrect. I thought this would be easy, but with the None not working, I’ve tried other methods. But, still no luck.
axcpt_trialTypes.xlsx (27.7 KB)
axcpt_2.psyexp (10.1 KB)
Any help would be greatly appreciated!! Thanks so much!