I have an experiment that works perfectly offline and has some code components within. I’m now trying to get the experiment to work online; I’ve converted most of the code but I’m really struggling to find a substitute for this block of code:
#loop through the rows in the stimulus file for rowx in range(1,num_items+1): ```#read in an entire row ```row = insheet.row_values(rowx) ```#Save the stimuli ```emo_face.append(row) ```neu_face.append(row) ```pos_poly.append(row)
Just to clarify, this code is part of a larger set which is attempting to access and read through an excel conditions file with some randomization taking place (i’ve used the trialhandler to access the conditions file). ‘num_items’ are the amount of items to be processed in the routine; and all the stimuli at the last section of code are the columns of stimuli within the conditions file.