pace-neutrons / Horace

Horace is a suite of programs for the visualization and analysis of large datasets from time-of-flight neutron inelastic scattering spectrometers.
https://pace-neutrons.github.io/Horace/stable/
GNU General Public License v3.0
7 stars 4 forks source link

upgrade_file_format incorrectly uses `-upgrade_range` option. #1656

Closed abuts closed 4 months ago

abuts commented 4 months ago

upgrade_file_format have range of issues very inconvenient to users.

1) if you specify -upgrade_range option incorrectly, it silently ignores it. File format get upgraded but ranges are not calculated. 2) if you call upgrade_file_format on recent version of sqw file with incorrect ranges, and the file is not misaligned, ranges are not recalculated. There are no curent way of upgrading ranges for this kind of file.

abuts commented 4 months ago

fixed through Re #1661