psychopy.org | Reference | Downloads | Github

Use Variable to select rows in condition file/loop

Hi!

My experimental design is a bit messy, and I do not want to get into too many details. I was wondering, if it is possible to use a variable to select rows from a condition file?

I had to create some random sub-samples that met certain criteria and I figured it would be easier, if I would create these indexes as a separate python command.

However, now I struggle with assigning this list in the loop settings.

Moreover, in a next step, I would actually like to iterate through a list of these subsets. I thought I would create one big outer loop, with the variable names of the subsets as a condition, that would then be used in the inner loop… But as I can’t get the first step working, I don’t know how to do this.

I don’t know if this is enough information, but I hope someone here has a hint on how to solve the issue!

Thank you
Kat