Psychojs - Inner Loop pattern

PS - @dvbridges ; Can you confirm that the solution you listed with cond.xlsx and A.xlsx in your earlier answer works in psychojs? I’m able to use a variable as a conditions file name in python, but not online, getting a <condition_filename> is not defined error (I think because of the way the loop is scheduled).

If it doesn’t work, can you think of a way to make it? Thank you!