Empty Cells in the Log File
Hello everyone,
Sorry for taking your time but I have two questions regarding the log file: I tested a study on JATOS. In the log file, if the variable hasn't assigned yet, cells look empty until the assignment. However, I use MatLab to index and match each trial and everything goes wrong if there is an empty cell at the beginning - or somewhere in between. I thought of assigning 0 for all variables at the beginning but it also doesn't sound very convenient. I just wanted to ask if you have a solution for that.
And my last question is, if subject doesn't answer, response is logged as "None". However, other responses are integers. I am having an issue to analyze the column containing both string and integers. Can we assign a different number, for example 99, for the missing responses? Or if you have any other suggestions, I would be happy to hear that.
Thank you all for your help.
Best,
Jonah
Comments
Hi Jonah,
I tested a study on JATOS. In the log file, if the variable hasn't assigned yet, cells look empty until the assignment.
I don't know unfortunately, but maybe @kri or @daniel do?
if subject doesn't answer, response is logged as "None".
It is probably easiest if you overwrite this response yourself. So, after a trial, once you have collected the response, you can check whether a response was given, and set it to a numerical value if there was no response. It is important that you put this code in the run phase of an inline_script and after the keyboard item.
For example:
if var.response == None: var.response = 99Hope this helps,
Eduard
Hi Eduard,
Thanks for your help! I will overwrite the responses.
Best,
Jonah