poldracklab / tacc-openneuro

0 stars 1 forks source link

ds004283-fmriprep: "ValueError: operands could not be broadcast together with shapes (3,3) (4,)" #97

Open jbwexler opened 3 weeks ago

jbwexler commented 3 weeks ago

2/4 subjects:

Node: fmriprep_24_1_wf.sub_01_wf.fmap_preproc_wf.wf_auto_00000.bs_filter
Working directory: /node_tmp/work_dir/fmriprep/ds004283_sub-01/fmriprep_24_1_wf/sub_01_wf/fmap_preproc_wf/wf_auto_00000/bs_filter

Node inputs:

bs_spacing = [(16.0, 16.0, 10.0)]
debug = False
extrapolate = True
in_data = <undefined>
in_mask = <undefined>
recenter = median
ridge_alpha = 0.0001
zooms_min = 1.0

Traceback (most recent call last):
  File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
    result = self._run_interface(execute=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
    return self._run_command(execute)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
    raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node bs_filter.

Traceback:
        Traceback (most recent call last):
          File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/nipype/interfaces/base/core.py", line 397, in run
            runtime = self._run_interface(runtime)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/sdcflows/interfaces/bspline.py", line 155, in _run_interface
            bs_grids = [
                       ^
          File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/sdcflows/interfaces/bspline.py", line 156, in <listcomp>
            bspline_grid(fmapnii, control_zooms_mm=sp) for sp in self.inputs.bs_spacing
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/opt/conda/envs/fmriprep/lib/python3.11/site-packages/sdcflows/interfaces/bspline.py", line 549, in bspline_grid
            dir_cos = img.affine[:3, :3] / im_zooms
                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
        ValueError: operands could not be broadcast together with shapes (3,3) (4,)