I have data hosted on the Open Science Framework, and have created a git-annex “mirror” of this dataset on GitHub using datalad: https://github.com/sappelhoff/eeg_matchingpennies
Today I wanted to update a file in my dataset. Unfortunately I did not think this through, went to OSF, and edited the file there directory (some line in the dataset_description.json
). Shortly after I was done I realized that this will probably lead to issues with datalad, and it does:
This works (because I didn’t change README):
datalad clone https://github.com/sappelhoff/eeg_matchingpennies
cd eeg_matchingpennies
datalad get README
However, for this, I get an error: datalad get dataset_description.json
(the file I changed manually on OSF)
[ERROR ] verification of content failed [get(/home/stefanappelhoff/Desktop/bids/eeg_matchingpennies/dataset_description.json)]
get(error): dataset_description.json (file) [verification of content failed]
I have two questions:
- What would have been the “correct” way to change my file?
- How can I fix this issue?
I am running datalad 0.12.7
on ubuntu 18.04