URL of experiment: CategorisationTask [PsychoPy]
Description of the problem:
This is a word categorisation experiment (same structure as a lexical decision experiment).
Crucially, there is a break every 5 trials, and I’ve done this as follows:
…where the No. Loops of the trials_2 loop is controlled with the following code:
if CurrentTrial in [5,10,20,30,40,50,60]:
…SeeBreak=1
else:
…SeeBreak=0
The experiment works great in both Psychopy and Pavlovia. The Psychopy output is perfect, but HERE’S THE PROBLEM: in pavlovia output, the rows are misaligned (see discontinuous yellow line). For example, the 5th trial word (CHIP) is recorded on the 6th row, but its reaction times and response button (columns C to E) are recorded on the 5th row. I think this is a bug related to the fact the trials_2 loop is used directly after this trial (note column V provides data regarding that loop, i.e., ‘space’ was pressed). Any solutions?
Hey Ryan,
Is it possible to share the a datafile with me so I can take a look?
Best, Thomas
Thanks Thomas, yes I can provide any details you need. Attached is the .csv of one participant (note that the problem occurs whenever a word is followed by the break screen described above (so after 5th word, 10th word, then every 10th word from then)
PARTICIPANT_CategorisationTask_2020-10-16_22h24.00.742.csv (14.1 KB)
I can share anything else too - just let me know what is required.
Thanks! I verified your problem (wanted to be sure it wasn’t a problem with importing the CSV). About how to fix it… I’m not sure to be honest, but I got in touch with a fellow team member to ask for some pointers. Update forthcoming!
1 Like
Hi could I please check whether a solution was found to this issue? I am having the same issue with my experiment output file. It is running online, and the data output file has misaligned rows (data from the same trial running across two lines):
It is a bit of an issue for the analysis so we would like it to all run on one line if possible?
I have a few loops iin my experiment - example in the screenshot below. I’m not sure if that might be causing the issue? Thanks!
Try unticking istrials from inner_loop_kp
Thanks but that hasn’t made any difference. I have tried unticking “is trials” for all my loops other than the actual trial loop and that doesn’t seem to help.
I am wondering whether my best approach might be to create a custom output file, that just saves the columns that I specify. I have had a look online but can’t find any guidance documents on how to do that - is there any chance you know where I might be able to find something like that? Thanks very much!
Since your inner loop seems to be just there to show or skip start_kp and fixation_p you could remove it and set a variable which is true when you want to skip them. Then add that variable to the routine settings.
Alternatively, you could copy the key variables from within the loop to the next line using thisExp.addData
I don’t think you will be able to create a custom output file on Pavlovia.