Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Mouse click crashes program during stimulus presentation

edited September 2017 in OpenSesame

How can the mouse be disabled so that a mouse click during stimulus presentation doesn't crash the program?
Here's the code for the stim presentation:

def studyOnly(pairsDict, interference=False):
        for A, B, C, timesRecalled, timesTrained in pairsDict:
            presentPairs = canvas(exp)
            if interference:
                presentPairs.text(A + '-' + C)
            else:
                presentPairs.text(A + '-' + B)

            t1 = presentPairs.show()
            # Present the word pair for 7000ms
            self.sleep(soISI)

Many thanks!

Comments

Sign In or Register to comment.