10/24/2022 0 Comments Psychopy not definedI don’t know why it is not able to pick up the images. 1.jpg, 2.jpg,) the same names are in each row of the excel condition file. The shuffle function you will have to re-create manually, but this is easy to do with the tools available. And all the images in the ‘cue’ folder have unique names (e.g. I tried using different versions of Psychopy and it runs perfectly well locally, however, the. #Psychopy not defined codeIn fact, no import statement from a code component will work in JS right now. The first of which is: ReferenceError: stimulicount not defined. Hey, I am very new to PsychoPy and am trying to create a study to investigate the theory of spaced learning by presenting participants a set of word pairs. I also see something else which will cause trouble which is the line after that: import * as random from 'random' This should declare it as an implicit global variable (see ) So if it is not defined at that stage, you get an error (which you have diagnosed by providing a set value, defined at the start). If that field is set to be constant, it is assumed that the value is available at the start of the experiment. #Psychopy not defined updateThe solution is actually to delete the word “var” from in front of it and just put this in your begin experiment code: this_loop_number = 0 You must set your text2 component text field to update 'Every routine' rather than be constant. Each node in the graph is a task, and edges define dependencies among the. Scope is kind of a complex concept if you aren’t familiar with it, but the bottom line is that right now it’s only being defined for other things within the “begin experiment” code block, and you need it to be available globally. Run an airflow task after a task in a loop, not after all tasks in a loop. “this_loop_number” is defined in the begin experiment function, and then referenced inside another function that is not called from inside it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |