psychoinformatics-de / datalad-hirni

DataLad extension for (semi-)automated, reproducible processing of (medical/neuro)imaging data
http://datalad.org
Other
5 stars 8 forks source link

Hirni-spec2bids leads to git-annex warning multiple times #131

Open TobiasKadelka opened 4 years ago

TobiasKadelka commented 4 years ago

After creating a study-dataset and building a bids-dataset from that, I was going back to the studydataset and just re-run a hirni-spec2bids for one subject. The files where unlocked (which is normally not the case, but necessary for an old script, so it can copy the files, instead of the git-annex links). It seems like hirni wants to unlock the files, too, throws a warning and repeats "this has not yet been committed to git; cannot unlock it" a few times. The output of the conversion is fine, but depending on the conversion this might lead to way more then 8 times the same warning.

(datalad-crawler) tkadelka@brainbfast in /data/BnB_USER/Kadelka/DTA/DTA_BIDS on git:master+! ❱ datalad hirni-spec2bids sourcedata/T11936/studyspec.json [INFO ] Running procedure hirni-dicom-converter [INFO ] == Command start (output follows) ===== [INFO ] Making sure inputs are available (this may take some time) [WARNING] Running unlock resulted in stderr output: this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it this has not yet been committed to git; cannot unlock it git-annex: unlock: 8 failed