You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the ivim_fitting but I'm facing the following error. Does anyone know how to fix it?
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 1060, in fit_warpper
if approach == '1pool_separate':
^^^^^^^^
NameError: name 'approach' is not defined
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 1111, in
main(dwi_fname=args.dwi_fname, bval_fname=args.bval_fname, mask_fname=args.mask_fname, model=args.model, ofolder=args.ofolder, multithreading=bool(int(args.multithreading)))
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 112, in main
ivim_fit.run_fit()
~~~~~~~~~~~~~~~~^^
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 75, in run_fit
self.ivim_metrics_all_voxels = pool.map(fit_warpper, fit_func_args)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 774, in get
raise self._value
NameError: name 'approach' is not defined
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to run the ivim_fitting but I'm facing the following error. Does anyone know how to fix it?
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 1060, in fit_warpper
if approach == '1pool_separate':
^^^^^^^^
NameError: name 'approach' is not defined
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 1111, in
main(dwi_fname=args.dwi_fname, bval_fname=args.bval_fname, mask_fname=args.mask_fname, model=args.model, ofolder=args.ofolder, multithreading=bool(int(args.multithreading)))
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 112, in main
ivim_fit.run_fit()
~~~~~~~~~~~~~~~~^^
File "/Users/ampaschoal/ivim-toolbox-master/ivim_fitting.py", line 75, in run_fit
self.ivim_metrics_all_voxels = pool.map(fit_warpper, fit_func_args)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/pool.py", line 774, in get
raise self._value
NameError: name 'approach' is not defined
The text was updated successfully, but these errors were encountered: