Logging problem ? -- Need for a logger after each loop
Hi all,
I just looked at some data and found something weird, for some reason my response_time column has the same response time for all my trials.
Weirdly enough this only happens with part of my data and not for all of it. I mimimized my use of loggers since OpenSesame warns against choatic data but I now think this may have led to this particular error.
In the screenshot I circled in red the data where the logging seems to have been incorrect.
I circled in blue the data where the logging worked fine.
I think that the problem may be due to the fact that the loop "Condition_RT" doesn't have a logger at the end of the "Understanding" sequence. Whereas the "Condition1_Questions" loop has the logger (indicated by the green arrow).
When programming I thought that the overall "Condition1" sequence (at which theoretically the logger indicated by the green arrow is at the end) would be the unit which should end in the logger.
But I guess each loop needs its own logger?
I now added the logger at the end of the "Condition_RT" loop and tried if this solved the problem.
It did so I guesss my theory is correct.
But I just wanted to check if there may be other explinations. Additionally, I figured it might be useful for others to be aware of this issue.
Comments
Hi Eva,
Every time you collect a respond, you have to add a logger to log it. If the tasks are similar (use the same variable names), you should use the same logger multiple times. If the tasks are really different, or if you can't think of how to represent all information ina single logger efficiently, you can use multiple different loggers. Opensesame will warn you, because there is a chance that the logfile will have a weird format. So make sure that you test your files before you record your sample.
Hope this cleared things up/
Eduard
Hi, thnx! In the beginning (earlier scripts) I had loggers everywhere but then parsed them out. Never had this issue before untill this one dataset. But you're right should've tested this one too to make sure.
Also didn't realize that you can have the same logger multiple times, always good to learn something new
Thanks!