You may also find the solution in Wakefield Morys-Carter’s PsychoPy to JS crib sheet. Some threads are marked with a tick before the name to indicate that they contain a solution. Once you have identified the error message or behaviour you are trying to fix, search the PsychoPy forum for other threads discussing the same issue, using keywords from your error message or issue. See Resources in online studies for more information. Resources that are selected via code components should be added via Experiment Settings / Online / Additional Resources (see how to Configure the online settings of your experiment) or a Resource Manager Component. Resources (spreadsheets, images, etc.) should be in the same folder as the psyexp file or a sub-folder. Your code is executed in order from left to right (in the flow) and from top to bottom (within each routine).Įxperiment Settings / Online / Output path should be blank. Upload your files to Gitlab by synchronising using PsychoPy Builder, rather than using Git commands.Ĭode components should be set to Auto translate (“Code Type” > Auto > JS) unless you know why you need to use different code for Python and JavaScript.Ĭode components should normally be moved to the top of their respective routines. This folder should only contain subfolders that pertain to the experiment. Make changes via Builder.Įach Builder (psyexp) file should be in its own dedicated local folder, which should not be in an area currently under version control (e.g.a github project, Google drive or Onedrive). Check whether the features you are using are supported online via our Status of online options page.ĭon’t try to edit JavaScript files on Pavlovia directly.
0 Comments
Leave a Reply. |