Thank you @Steven, it worked perfectly!
However when trying to open the fmriprep derivatives of the same dataset I get the following error:
datalad install GitHub - OpenNeuroDerivatives/ds003007-fmriprep
CommandError: ‘git -c diff.ignoreSubmodules=none for-each-ref ‘–format=%(refname:strip=2)’ refs/heads refs/remotes’ failed with exitcode 128
fatal: detected dubious ownership in repository at ‘/mnt/226AE1226AE0F407/scans_temp/ds003007-fmriprep’
To add an exception for this directory, call:
git config --global --add safe.directory /mnt/226AE1226AE0F407/scans_temp/ds003007-fmriprep
I have added the exception with git config but when trying to retrieve one subject (e.g., sub-21.html) I get:
datalad get sub-21.html
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-Fischer344.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-fsaverage.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-fsLR.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152Lin.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009aAsym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009aSym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009bAsym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009bSym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009cAsym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin2009cSym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin6Asym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI152NLin6Sym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNI305.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNIColin27.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNIInfant.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MNIPediatricAsym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-MouseIn.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-NKI.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-NMT31Sym.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-OASIS30ANTs.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-PNC.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-RESILIENT.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-UNCInfant.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-VALiDATe29.path’, skipping this submodule
[WARNING] Failed to get ‘sourcedata/templateflow/tpl-WHS.path’, skipping this submodule
get(error): sub-21.html (file) [not available; (Note that these git remotes have annex-ignore set: origin)]
On a different machine I have tried the same procedure and I get:
datalad get sub-21.html
[ERROR ] expected str, bytes or os.PathLike object, not tuple [pathlib.py:_parse_args:667] (TypeError)
I am wonderig why it works perfectly fine with the mriqc derivatives but fails with the fmriprep ones
thank you again for all the help
Davide