addOtherData... problem

Hi,

I’m trying to run interleaved staircases from builder, I’d normally do this from coder but I want to try and compile to javascript/html for use on the web.

My staircases seem to be running fine, however I can’t seem to add additional data to the output file. I want to add some extra parameters indicating particular characteristics of the stimuli - these aren’t part of the staircase because they are randomised from trial to trial.

My extra code snippets look like this:

trials.addOtherData(‘actualLoc’, correctLocAns)
trials.addOtherData(‘responseLoc’, str(key_resp_2.keys))
trials.addOtherData(‘targetName’, targetName)
trials.addOtherData(‘maskName’, maskName)

But no additional data turn up in the output files. Any suggestions?

Cheers,

George

Windows 10
1.90.1 (tried earlier version too)
Standard Standalone
What are you trying to achieve?:

What did you try to make it work?:

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Hi George,
Have you found any answer to this ? I have the same problem as you.
Thanks,
Laura