Skip to content

custom path cast volume tomwer widget

When trying to use a keyword to create a custom output path where to cast the volume as 16bit tiff, like so:

/data/visitor/ihma724/id19/20250909/PROCESSED_DATA/007_carbon_twill_1_test/007_carbon_twill_1_test_0001/volume_16bit/{scan_basename} (I tried all keywords suggested in https://tomwer.readthedocs.io/en/stable/canvas/widgets/reconstruction/castvolumewidget.html)

I get the following error:

2025-09-11 12:05:17 [PROCESS_STARTED] start cast volume hdf5:scan:/home/esrf/rofische/data_ihma724/PROCESSED_DATA/007_carbon_twill_1_test/007_carbon_twill_1_test_0001/007_carbon_twill_1_test_0001_1_1_0009.nx?path=entry0009 with parameters {'output_data_type': 'uint16', 'output_file_format': 'tiff', 'output_dir': '/data/visitor/ihma724/id19/20250909/PROCESSED_DATA/007_carbon_twill_1_test/007_carbon_twill_1_test_0001/volume_16bit/{scan_basename}', 'overwrite': True, 'rescale_min_percentile': None, 'rescale_max_percentile': None, 'data_min': 0.1191, 'data_max': 3.3006, 'compression_ratios': None, 'remove_input_volume': True, 'cluster_config': None}
**2025-09-11 12:05:17 [ERROR] 'scan_basename'**

How much would it take to add 3D tiffs as an option instead of piles of 2D tiffs of different scans in the same folder? I find the default structure with deeply nested folders not very useful.

Otherwise, the workflow for scan series works very nicely.

Edited by payno
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information