I’m using the standalone PsychoPy version 3.1.5
During eleven routines I ask participants to make 2 ratings with 2 different sliders. Then, because I need to rank the ratings, I then create an array of the 22 ratings with this code:
rankall = rankall+[int(rating1.text), int(rating2.text)]
The first two rounds of the routine are practice, so I don’t want those two ratings in my array. So, I am trying to find the code to cut out those two items. I have tried several iterations and am having the same problem - it either cuts out one item or four. Here’s the current code I’ve tried:
In order to ensure that the array is done, I’ve put this code in End of Experiment:
with that code I get 18 of the 22 items instead of 20 of 22.
if I use:
I get 21 of the 22 items.
I’ve tried the same code with [0:1] and [0,1], but those don’t work consistently either.
I have another array where I just need to cut out the first item. For that I used the following code in the End Experiment tab:
That also does not work consistently. Sometimes it cuts one item, sometimes it cuts 2.
What am I doing wrong?
Thank you for your help.