Check NX version usage in dataset_analyzer
IIRC at some point I needed to pass nx_version=1.0
to tomoscan for some datasets, as otherwise tomoscan would crash.
Let's check if we can remove some legacy code (check with oldest datasets, eg. bamboo ?)
# Wait for next tomoscan release to ship "nexus_version"
from packaging.version import parse as parse_version
from tomoscan.version import version as tomoscan_version
_tomoscan_has_nxversion = parse_version(tomoscan_version) > parse_version("0.6.0")
#
# [...]
#
if _tomoscan_has_nxversion:
advanced_options["nx_version"] = 1.0 # passed to HDF5TomoScan