psychopy.org | Reference | Downloads | Github

Duplicated Excel information in the data file

OS (e.g. Win10): win10
PsychoPy version (e.g. 1.84.x): 2021.1.4

Hello, I am running an experiment where I present various pictures. I do not encounter any error, the experiment runs well, but I noticed that psychopy writes duplicate picture names to the data file. I did similar projects before where I drawn info from an excel file, dont remember encountering such duplicated information in the data file. I insert the screenshots as well.
although not a big deal, I feel that it may cause confusions in the long run. Is there a way to prevent this?
thanks in advance, tutku



Have you added some code like thisExp.nextEntry() anywhere? There must be a reason why your code is giving two rows per trial (assuming that’s the behaviour you’re describing).

hmm, no, i didnt. it doesnt duplicate the key responses though. it only duplicates the stimulus names for some reason.
by the way, tested it in pavlovia, seems like it doesnt duplicate anything in pavlovia data. but i will dig more into it. the duplication in the local run is still a problem (well, not a problem, but it can cause future confusions).

Please could you upload a full csv file?

of the pavlovia data, local data or the excel file for the image names?

The data file with duplicated rows (but not key responses).

_dualTask_2021_Jun_28_2201.csv (6.9 KB)

highlighted the related variables

You have prac_corrLoop and prac_wrongLoop

Are they both contained within an outer loop called teachTask?

I think that you should remove the tick from “is trials” in teachTask.

1 Like

unchecking the is trials box from the feedback loops solved the problem. thanks @wakecarter