Create new experiment from existing file

The main issue you’ve got @ClareSutherland is that the project is the entire folder not just an experiment file - that’s how it takes all its associated stimulus and analysis files etc with it.

3 options I can think of below, in order of difficulty. The first is easiest but loses the history of the project (deleting the git history deliberately to

  1. create a new copy locally and upload (losing history of the project):

    • copy the entire folder to a new one
    • go to that folder and delete the .git folder inside it (you might need to turn on viewing of hidden files to see it there). That contains the history of the project but it’s also how PsychoPy detects the Pavlovia project to sync with
    • now when you sync in PsychoPy it will ask to upload to a new project
  2. Use git commands to remove the pointer to Pavlovia (if you want to keep the history)

    • as above, create a new copy of the entire folder
    • in the terminal (or command line on windows) you can execute this (but you might need to find the location of git.exe in the PsychoPy3 folder if it isn’t on the path): git remote rm origin
    • that should have killed the pointer to Pavlovia and now when you do sync again inside PsychoPy it will hopefully ask to create a project again
  3. create a new fork on Pavlovia. This would normally be fine between different users but Pavlovia expects forks between users not for the same user so we have some hoops

    • create a group in gitlab.pavlovia.org (essentially like a new user)
    • go to your project in gitlab.pavlovia.org and press the fork button (top right) to fork your project to your new group
    • go to your newly forked project and into the Settings>Advanced>TransferProject and transfer it back to yourself as a user!
5 Likes