-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/bugSomething isn't workingSomething isn't working
Description
Describe the bug
aCompCor_tr_string2float & tCompCor_tr_string2float both complain
Node inputs:
function_str = def TR_string_to_float(tr):
if 'ms' in tr:
tr = float(tr.replace('ms',''))/1000
else:
tr = float(tr.replace('s',''))
return tr
tr = None
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/linear.py", line 44, in run
node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 471, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 555, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_command
result = self._interface.run(cwd=outdir)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 521, in run
runtime = self._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/utility/wrappers.py", line 144, in _run_interface
out = function_handle(**args)
File "<string>", line 2, in TR_string_to_float
TypeError: argument of type 'NoneType' is not iterableTo Reproduce
Steps to reproduce the behavior:
- Go to C-PAC on brainlife.io
- Choose a subject (anat & func)
- Set
preconfigtofmriprep-options - See error
Expected behavior
TR should be known and set.
Versions
- C-PAC: 1.7.1
- Container Platform :
- Singularity
- SLURM
- app-C-PAC-brainlife.io: 0.0.0-dev
Additional context
I'm not sure whether
Line 28 in c2fb306
| bl2bids |
Run log: FCP-INDI/cpac_run_logs#3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/bugSomething isn't workingSomething isn't working