Skip to content

update metadata dict for not-hdf5 format

payno requested to merge fix_writer_for_metadata into master
  • make sure all metadata are part of a section for metadata dump to .txt
  • provide minimal metadata for tomwer volume viewer for not-hdf5 file format

Avoid to get the following kind of error when reading back the metadata with tomoscan:

'process_name = reconstruction\n' [tomoscan.esrf.volume.singleframebase](singleframebase.py:160)
2023-05-16 11:13:13,590:ERROR:tomoscan.esrf.volume.singleframebase: Failed to load metadata from /mnt/multipath-shares/tmp_14_days/payno/test_bug_920/5.06_crayon_W150_60_Al2_W0.25_xc1000_slice_0500/5.06_crayon_W150_60_Al2_W0.25_xc1000_slice_0500_infos.txt. Error is File contains no section headers.
file: '/mnt/multipath-shares/tmp_14_days/payno/test_bug_920/5.06_crayon_W150_60_Al2_W0.25_xc1000_slice_0500/5.06_crayon_W150_60_Al2_W0.25_xc1000_slice_0500_infos.txt', line: 1
'process_name = reconstruction\n'
Edited by payno

Merge request reports