psychopy.org | Reference | Downloads | Github

Loop export to html


#1

Hi!
I am using Psychopy 3.0.0b4 on Mac Sierra 10.13.6. When I export the loop into HTML format, for some reason, it doesn’t export (e.g. there are functions in javascript file for routines, but not for loops). Thank you!


#2

Thanks @agleontyev, would you be able to provide the Builder file and JS output? Perhaps you could upload to https://pavlovia.org/ and I can have a look from there


#3

Hi @agleontyev, this is a bug that will be fixed in the next release. If you want to fix before the next release, add the following to your psychopy/experiment/_experiment.py file at line 120:

self._compileLoop = True  # Must update on every compile else always False after first writeScript

#4

This is fixed in 3.0.0b6 available now