Skip to content

enter sorted data from first task as timeline_variables for second task #1361

Answered by becky-gilbert
abakkour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abakkour!

I'm not sure whether it's possible to create a timeline_variables array dynamically during the experiment, but I think it's not. @jodeleeuw?

One way to do this is to switch to using a looping timeline instead of timeline_variables for this part of the experiment. The loop_function in your looping timeline would keep track of the trial number, which allows you to index the list_paired array to get the appropriate variables for each trial. This also allows you to end the loop once your trial count reaches the length of the list_paired array. The timeline in your looping timeline would contain the trials that are currently in your timeline_variables procedure (choice_trial), bu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abakkour
Comment options

Answer selected by abakkour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants