incf-nidash / PyNIDM

Other
21 stars 31 forks source link

Unknown option `show-origin’ with bidsmri2nidm using NIDM #381

Closed Rahul-Brito closed 1 year ago

Rahul-Brito commented 1 year ago

Summary of what happened: Running bidsmri2nidm to create a participants.json sidecar for my bids dataset.

Command used (and if a helper script was used, a link to the helper script or the command generated): In a conda env i installed PyNIDM (pip install pynidm) and Datalad (pip install datalad), and an InterLex API key following David Keator's ABCD-repronim slides here (https://youtu.be/-Y-3OBDZJgo?t=1722) and am working with a BIDS directory with what I think is a compliant participants.tsv file and a dataset_description.json

when I run bidsmri2nidm -d bids/ -bidsignorewhere bids/ is the folder within which my bids dataset is, I get this error:

datalad.runner.exception.CommandError: CommandError: 'git --git-dir=/dev/null config -z -l --show-origin' failed with exitcode 129 [err: 'error: unknown option `show-origin'

image

Rahul-Brito commented 1 year ago

ok updating git with conda install git in my conda env seemed to solve it. It was using a very old version of git installed on the head node of my cluster

Rahul-Brito commented 1 year ago

Solved