Hi guys,
We installed fmriprep using a Manually Prepared Environment with all the dependencies installed via NeuroDebian. However we cannot download template files from the database when running fmriprep. Here’s the command and screen output:
fmriprep BIDS_DATA/ fmriprepout/ participant -w fmriprepwork
170627-14:48:22,587 niworkflows INFO:
Downloading datafromhttps://files.osf.io/v1/resources/fvuh8/providers/osfstorage//584123a29ad5a1020913609d ...
170627-14:48:22,589 niworkflows WARNING:
Resuming failed, try to download the whole file.
170627-14:48:22,589 niworkflows INFO:
Downloading data fromhttps://files.osf.io/v1/resources/fvuh8/providers/osfstorage//584123a29ad5a1020913609d ...
170627-14:48:22,590 niworkflows WARNING:
Download failed, retrying (attempt 1)
170627-14:48:27,595 niworkflows INFO:
Downloading data fromhttps://files.osf.io/v1/resources/fvuh8/providers/osfstorage//584123a29ad5a1020913609d ...
…
The niworkflows 0.1.3 was already installed and there was no problem when only using niworkflows functions to download the templates. Here’s the code running in python 2.7 and its output:
from niworkflows.data import get_ants_oasis_template_ras
get_ants_oasis_template_ras()
170627-15:09:04,286 niworkflows INFO:
Downloading data fromhttps://files.osf.io/v1/resources/fvuh8/providers/osfstorage//584123a29ad5a1020913609d ...
Downloaded 28327936 of 56935974 bytes (49.8%, 17.1min remaining)
Actually we found the problem happened when niworkflows’ internal nipype module (v1.0.0) was loaded. With the code:
import niworkflows.nipype
from niworkflows.data import get_ants_oasis_template_ras
get_ants_oasis_template_ras()
We received the same download failure warning.
The error disappeared if we load an older version of nipype (0.10.0, installed separately from niworkflows)
import nipype
from niworkflows.data import get_ants_oasis_template_ras
get_ants_oasis_template_ras()
This code had no download errors. But if we load an latest version of nipype (0.13.1),we got the same error again.
Since fmriprep requires a niworkflows of version 0.1.3, which loads its internal updated nipype, we receive the download failure message. Does anyone know how to fix the problem?
I would greatly appreciate it if anyone could help.