emodelrunner.parsing_utilities

Parsing utilities functions.

Functions

get_parser_args()

Get config_path and verbosity from argparse.

set_verbosity(verbosity)

Set verbosity level.

emodelrunner.parsing_utilities.get_parser_args()[source]

Get config_path and verbosity from argparse.

Returns

object containing the parsed arguments

Return type

argparse.Namespace

emodelrunner.parsing_utilities.set_verbosity(verbosity)[source]

Set verbosity level.

Parameters

verbosity (int) – verbosity level. 0 for warning, 1 for info and 2 or more for debug