set_up

This module contains functions for setting parameters and configuring logging.

prepshot.set_up.initialize_environment(config_files)[source]

Load configuration data, set up logging, and process input parameters.

Parameters

config_files (Dict[str, str]) -- Dictionary containing paths to parameters and configuration files.

Returns

Dictionary containing the global parameters.

Return type

Dict[str, Any]

prepshot.set_up.parse_cli_arguments(params_list)[source]

Parse command-line arguments from a list of names of parameters.

Parameters

params_list (List[str]) -- List of parameters.

Returns

Parsed command-line arguments.

Return type

argparse.Namespace