Pipeline fails when using "--slice middle"
On "NFP_translations":
End of first stage of processing. Will now process sinograms saved on disk
Traceback (most recent call last):
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/bin/nabu", line 8, in <module>
sys.exit(main())
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/app/reconstruct.py", line 103, in main
R.reconstruct()
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/pipeline/fullfield/reconstruction.py", line 573, in reconstruct
self._reconstruct_grouped()
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/pipeline/fullfield/reconstruction.py", line 563, in _reconstruct_grouped
self._modify_processconfig_stage_2()
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/pipeline/fullfield/reconstruction.py", line 375, in _modify_processconfig_stage_2
proc._configure_resume(resume_from="sinogram")
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/pipeline/fullfield/processconfig.py", line 719, in _configure_resume
dump_info = self._check_dump_file(process_file, raise_on_error=False)
File "/home/esrf/paleo/.venv/py38_ubuntu20_pow9/lib/python3.8/site-packages/nabu/pipeline/fullfield/processconfig.py", line 770, in _check_dump_file
if dump_end_z < 0:
TypeError: '<' not supported between instances of 'bytes' and 'int'
This is because _check_dump_file
uses nabu_config
and end_z
can be "middle".