Skip to content

feedbackOn not stored in FIRA matrix of topsTreeNodeTaskReversingDots #19

@aernesto

Description

@aernesto

When executing the following code from commit b06983a, the resulting FIRA.csv file contains only NaN in the feedbackOn column.

function oneCPScript()

topNode = topsTreeNodeTopNode('oneCP');

topNode.addHelpers('screenEnsemble',  ...

   'displayIndex',      0, ...

   'remoteDrawing',     false, ...

   'topNode',           topNode);

topNode.addReadable('dotsReadableHIDKeyboard');
 
pauseBeforeTask = -1; % -1 means wait for keypress -- see topsTreeNode.pauseBeforeTask

cpDots1Task = topsTreeNodeTaskReversingDots('cpDots1');
cpDots1Task.taskID = 2;
cpDots1Task.trialIterations = 2;
cpDots1Task.independentVariables='trials.csv';
cpDots1Task.pauseBeforeTask = pauseBeforeTask;
 
topNode.addChild(cpDots1Task);
topNode.run();

topNode.children{1}.saveTrials('FIRA.csv', 'all')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions