[solved] Using python to repeat loops in version 3.1
Hi there!
I just updated to version 3.1 and have run into a problem. Previously, I have used following line in the prepare phase at the beginning of my experiment. I would always adjust the number of trials for each loop here. Now the experiment is only running one trial of each loop.
self.experiment.items['pracloop'].repeat = 10
Am I still able to use this code in the current version? Do I need to change something on the summary page for the loop? Any advice is appreciated.
thank you!
Allison
Comments
Hi Allison,
As of OpenSesame 3.0, experimental variables are stored in the
varobject. Theitemsobject is also globally available now. This means that:Has become:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Perfect! Thanks so much for the speedy reply!