niftynet.utilities.user_parameters_parser module

Parse user configuration file

run()[source]

meta_parser is first used to find out location of the configuration file. based on the application_name or meta_parser.prog name, the section parsers are organised to find system parameters and application specific parameters.

Returns:system parameters is a group of parameters including SYSTEM_SECTIONS and app_module.REQUIRED_CONFIG_SECTION input_data_args is a group of input data sources to be used by niftynet.io.ImageReader
check_keywords(config)[source]

check config files, validate keywords provided against parsers’ argument list