Error when trying to run fmriprep

HI,
I am running fmriprep on data that passed BIDS-validator but I get:

raceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 51, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 407, in run
    self._run_interface()
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 517, in _run_interface
    self._result = self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 650, in _run_command
    result = self._interface.run()
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1088, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/fmriprep/interfaces/images.py", line 321, in _run_interface
    normalized = normalize_xform(reoriented)
  File "/usr/local/miniconda/lib/python3.6/site-packages/fmriprep/interfaces/images.py", line 507, in normalize_xform
    if all((np.allclose(qform, xform), np.allclose(sform, xform),
  File "/usr/local/miniconda/lib/python3.6/site-packages/numpy/core/numeric.py", line 2478, in allclose
    res = all(isclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan))
  File "/usr/local/miniconda/lib/python3.6/site-packages/numpy/core/numeric.py", line 2557, in isclose
    xfin = isfinite(x)
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
(END)

Any idea why?
Thanks!

So we can better help, can you please describe:

  1. How you are running fMRIPrep (version, OS, python vs. singularity vs docker etc)
  2. Your fmriprep command
  3. Your memory/cpu devoted to the job

Thanks,
Steven

I am using docker, via the command:
fmriprep-docker bids_dir our_dir --fs-license-file <license_path>
I am not sure how to check memory/cpu but are you sure it should be relevant, given the error occurs from every single subject (starting from the first one)?

Thanks!

Don’t you also need to add participant to the command, after out_dir?

@Steven I added this now but still got the same error