def set_params(mainapp, params):
    if (params is not None):
        logger.debug('set_params() ...')
        app_tools.set_parameters_by_path(mainapp.parameters, params)
def set_params(mainapp, params):
    if (params is not None):
        logger.debug('set_params() ...')
        app_tools.set_parameters_by_path(mainapp.parameters, params)