Closed
Description
I am having issues with CompCor after this was merged #1968
First mask_file
input of aCompCor does not work:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/plugins/multiproc.py", line 52, in run_node
result['result'] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 366, in run
self._run_interface()
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 476, in _run_interface
self._result = self._run_command(execute)
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 607, in _run_command
result = self._interface.run()
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/interfaces/base.py", line 1085, in run
runtime = self._run_wrapper(runtime)
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/interfaces/base.py", line 1033, in _run_wrapper
runtime = self._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/common/report.py", line 52, in _run_interface
ReportCapableInterface, self)._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/algorithms/confounds.py", line 378, in _run_interface
self.inputs.mask_files = self.inputs.mask_files[0]
TypeError: '_Undefined' object does not support indexing
Interface ACompCorRPT failed to run.
Secondly the high_variance_mask returned by tCompCor seems wrong
Before the PR was merged:
This is the call to tcompcor in fmriprep https://github.com/poldracklab/fmriprep/blob/5e3ba02b515ba07c598fda7f4ad7b2bbbf7a8735/fmriprep/workflows/confounds.py#L180 As you can see it should be restricted by highly eroded brain mask which was the case before that PR was merged.
Metadata
Metadata
Assignees
Labels
No labels