Newlines in SPR not logged in results

PennController for IBEX Forums Bug Report Newlines in SPR not logged in results

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10892

    Dear Jeremy,

    I would need to get a column in the results which would specify whether the word was presented after a line break in the self-paced reading mode. I checked the DashedSentence.js and it seems it is already covered by this part of the code:

            for (var i = 0; i < nonSpaceWords.length; ++i) {
                    ["Word number", i+1],
                    ["Word", csv_url_encode(nonSpaceWords[i])],
                    ["Reading time", this.sprResults[i][0] - this.sprResults[i][1]],
                    ["Newline?", (! this.display == "in place") &&
                                 boolToInt(((i+1) < this.wordOSpans.length) &&
                                 (this.wordOSpans[i].offset().top != this.wordOSpans[i+1].offset().top))],
                    ["Sentence (or sentence MD5)", this.sentenceDesc]

    However, I do not the “Newline?” part of the results does not get logged – I checked it several times using different stimuli, so I believe there is a bug somewhere. Could you perhaps check that? Or could you tell me what I am doing wrong? 🙂

    Best wishes and many thanks!



    Hi Jan,

    The ! is misplaced in that line, unfortunately this was only fixed after DashedSentence.js was added to PCIbex. Just edit the line as shown in the git commit and you should get things to log correctly


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.