Hi Daniel,
Thank you for the thorough response. I understand the code you sent, but I’m having trouble applying it to my experiments.
Here’s what I tried:
Both experiment 1 and 2
def run():
# indented experiment code from builder
Experiment controller
import exp1
import exp2
if __name__ == '__main__':
exp1.run()
exp2.run()
This would only run experiment 1. I played around with it but couldn’t get it to run both experiments one after the other.
Ideally, what I’m looking for is code for a code component in the builder of experiment 1 that would open experiment 2 (in a different folder, if possible) if the participant number was say 24, 68, or 95; or open a different experiment if it was a different participant number. Is there a way to do this?