FelixHenninger / lab.js

Online research made easy
https://lab.js.org/
Other
245 stars 109 forks source link

help please #230

Open kakapead opened 6 months ago

kakapead commented 6 months ago

so, the link to the slack channel doesn't work, no matter what i try. decided to make an account and post here then i guess.

how do i open an existing experiment, that was built in lab js? i need to open an existing experiment, to tweak some of the components, but i found no way to open the experiment in lab js builder. the existing experiment is in .json file format. can someone please help me please?

mcfarla9 commented 6 months ago

In the Builder, look in the upper left and find the floppy-disk icon to the right of the right-pointing triangle ("Preview") icon. Click on the down-triangle to the right of the disk icon to open a menu. In that menu select "Open". Now in that dialog navigate to the .json file that encodes your study, and Open that.

kakapead commented 6 months ago

Oh, I did try that with two different .json files, but the website stopped responding after.

mcfarla9 commented 6 months ago

Well everything works for me here just as described. Are you sure that your .json files are legitimate files saved using the lab.js Builder? As a test I purposely generated a simple .json file that did not properly encode a lab.js study, and when I tried to open that in the Builder then the Builder did indeed become nonresponsive, requiring a reload of the Builder.

Do the following: Start the Builder to make a new study. Make a simple study with one component to say "Hello World". Do a Preview run of the study to make sure that it works. Then Save the study, and try to Open that study again following the steps previously described.