nxtomomill.io.config.confighandler.BaseHDF5ConfigHandler#
- class nxtomomill.io.config.confighandler.BaseHDF5ConfigHandler(argparse_options, raise_error=True)[source]#
Bases:
objectClass taking as input the CLI options and the user configuration file. Raises error if there is incoherence between the two (like if the CLI provides image_keys values AND if the configuration file provides the same input).
This class will produce the instance of TomoHDF5Config to be used for the conversion
Methods
__init__(argparse_options[, raise_error])build_configuration(raise_error)- param raise_error:
raise error if encounter some errors. Else
conv_log_level(bool_debug)conv_str_to_bool(bstr)get_tuple_of_keys_from_cmd(cmd_value)Attributes
argparse_optionsconfiguration- rtype:
TomoHDF5Config | None