I am trying to edit (add/edit events files) a dataset (my own dataset) and was wondering if I can use Datalad to do so (instead of using the web interface).
I am able to clone the dataset, make and save the changes, but I am struggling to understand how to sync the changes with the git repository (I tried push to origin but getting the following error:
"CommandError: 'ssh -o ControlPath=/Users/home/Library/Caches/datalad/sockets/026218b3 git@github.com 'git-receive-pack '"'"'OpenNeuroDatasets/ds004141.git'"'"''' failed with exitcode 1
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.']"
)
I’m getting the same issue, did you manage to edit the dataset using datalad push --to=openneuro?
I’ve also tried to update the openneuro instance using deno (command below), which uses the openneuro API for login, but I’m also getting issues when pushing there, so any advice for troubleshooting would be recommended!
deno run -A jsr::@openneuro/cli upload --dataset ${datasetID} . --affirmDefaced --verbose