OS (Win10):
PsychoPy version (1.84.2):
Standard Standalone? y:
What are you trying to achieve?:
Apologies for the rather vague title but I cannot describe it otherwise.
I am trying to computerise the Iowa Gambling Task.If you imagine that you are a participant and you have 4 decks of cards (e.g. Decks A-D) in front of you, if you choose the top card from Deck A, the top cards from Decks B, C, D are not removed. Psychopy, however, removes the whole row in a conditions file (at least in the way I set it up).
I was wondering if there is a way to move between rows and columns based on what deck was chosen last. For instance, in my attached conditions file, if someone chooses Deck A the first 10 times (i.e. first 10 rows in the conditions file) and then Deck B on the 11th, this 11th trial should take the values from row 1, columns C and D which are for Deck B. And if they choose Deck A for the 12th trial then they should return to 11th row columns A & B for Deck A. Like in the image below:
I do not know if this makes sense at all.
I attach the .psyexp file and the conditions file. If you landed o this page looking for the IGT feel free to use it (only two decks at the moment but easy to expand).
I have only basic knowledge of Python but any help will be much appreciated.
CONDITIONS.xlsx (8.7 KB)
IGT.psyexp (30.8 KB)
.