Forking, Psychopy, and Pavlovia

URL of experiment:

Description of the problem:

I need to fork an existing experiment (ANT task) so that I can make some minor changes in Psychopy 3 and then upload to Pavlovia for participants to take part in (they’ll be coming from Qualtrics).

I should mention that I’m currently using a Mac.

I’m trying to follow the Pavlovia guidelines for forking an experiment but I become a little lost when typing in commands / SSH keys to terminal, ensuring folders are in the correct places, uploading to my Pavlovia account so that it’s a separate experiment that actually works (been seeing a lot of 403 errors, and file paths not being correct).

Is there any idiot-proof guidance around these steps available in one document, preferably with pictures? This stuff is really not my strength.

Thanks in advance,
J

Which guidelines tell you to type in commands?

https://psychopy.org/online/sharingExperiments.html

You can fork an experiment directly from PsychoPy Builder - if you find the experiment in the Search dialog (depending on your version of PsychoPy it’ll either be a button on the toolbar or a menu item when you click the down arrow next to the button showing your current project) there should be a “Fork” button which will create a fork of it in your namespace, then just choose “Yes” when it asks whether you’d like to sync to a local folder and choose where you’d like the files to be stored on your computer.

On the Pavlovia site - ‘forking and cloning’:

"On your local machine, you can use git to clone the GitLab project into a local directory. For instance, to clone [namespace]/[project] into myproject, you can issue this command:

git clone git@gitlab.pavlovia.org:[namespace]/[project].git myproject

At this point, you can edit the code in myproject. To copy your local edits onto the GitLab repository, you will need to use the standard commit and push Git commands. You can read more about it here: docs.gitlab.com/ee/gitlab-basics/.

As an illustration, to add a new image resource, you would typically issue the following commands:

git add resources/image.png git commit -a -m “added a new image” git push"

Ah, OK, I’ll try that instead, thanks a lot.