Crash when using unsharp without paganin
Overwriting configuration: start_z = 1080 and end_z = 1080
Going to reconstruct slices (1080, 1080)
Processing sub-volume (1080, 1081)
Warning: kernel support is too large for data dimension 0 (1). Forcing convolution mode to 'nearest'
Reading data
Applying flat-field
Performing unsharp mask
Traceback (most recent call last):
File "/scisoft/users/paleo/.venv/py37/bin/nabu", line 8, in <module>
sys.exit(main())
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/resources/cli/reconstruct.py", line 147, in main
R.reconstruct()
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/local_reconstruction.py", line 285, in reconstruct
self.pipeline.process_chunk(sub_region=task["sub_region"])
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/fullfield.py", line 701, in process_chunk
self._process_chunk()
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/fullfield.py", line 683, in _process_chunk
self._apply_unsharp()
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/utils.py", line 32, in wrapper
res = func(*args, **kwargs)
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/fullfield.py", line 606, in _apply_unsharp
self._get_cropped_radios()
File "/scisoft/users/paleo/.venv/py37/lib/python3.7/site-packages/nabu/app/fullfield.py", line 161, in _get_cropped_radios
((up_margin, down_margin), (left_margin, right_margin)) = self._phase_margin
TypeError: cannot unpack non-iterable NoneType object
Edited by Pierre Paleo