Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datalad installation fails to download files on HPC #144

Closed
psymbio opened this issue Aug 28, 2022 · 1 comment
Closed

Datalad installation fails to download files on HPC #144

psymbio opened this issue Aug 28, 2022 · 1 comment

Comments

@psymbio
Copy link

psymbio commented Aug 28, 2022

Most of the issues is covered in this link: https://neurostars.org/t/fmriprep-prepocessing-not-successful-file-not-gzip/23353/28

I have tried downloading templateflow using:

  1. Datalad installation: http://handbook.datalad.org/en/latest/intro/installation.html#linux-machines-with-no-root-access-e-g-hpc-systems and then running:
datalad install -r ///templateflow
cd templateflow/
datalad siblings -d "REDACTED/sbp/templateflow_install/templateflow" enable -s public-s3 -r
datalad get -r tpl-MNI152NLin2009cAsym
datalad get -r tpl-MNI152Lin
datalad get -r tpl-MNI152NLin2009cSym
  1. Downloading using a python script: https://pastebin.com/NAZmHFMA

But in both cases, the file sizes are just a couple of kilobytes.

@psymbio
Copy link
Author

psymbio commented Sep 5, 2022

The issue has been resolved for me. Here's what I ran:

mkdir templateflow_installation/
cd templateflow_installation/
datalad clone https://github.com/templateflow/templateflow
cd templateflow/
datalad get -r tpl-Fischer344
datalad get -r tpl-MNI152Lin
datalad get -r tpl-MNI152NLin2009aAsym
datalad get -r tpl-MNI152NLin2009aSym
datalad get -r tpl-MNI152NLin2009bAsym
datalad get -r tpl-MNI152NLin2009bSym
datalad get -r tpl-MNI152NLin2009cAsym
datalad get -r tpl-MNI152NLin2009cSym
datalad get -r tpl-MNI152NLin6Asym
datalad get -r tpl-MNI152NLin6Sym
datalad get -r tpl-MNI305
datalad get -r tpl-MNIColin27
datalad get -r tpl-MNIInfant
datalad get -r tpl-MNIPediatricAsym
datalad get -r tpl-MouseIn
datalad get -r tpl-NKI
datalad get -r tpl-NMT31Sym
datalad get -r tpl-OASIS30ANTs
datalad get -r tpl-PNC
datalad get -r tpl-RESILIENT
datalad get -r tpl-UNCInfant
datalad get -r tpl-VALiDATe29
datalad get -r tpl-WHS
datalad get -r tpl-fsLR
datalad get -r tpl-fsaverage
cd ..
mv templateflow/ $HOME/.cache/

And in my slurm script I mentioned:

export SINGULARITYENV_TEMPLATEFLOW_HOME=$HOME/.cache/templateflow

For any further information, refer to: https://neurostars.org/t/fmriprep-prepocessing-not-successful-file-not-gzip/23353

@psymbio psymbio closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant