source/utils.py
def printconfig(config_dict):
    """ Print configuration dictionary to console

    Configuration values in yaml file (default= config.yaml) passed as a dictionary and printed to the console for convenient inspection. Command line arg is (-pc, --print-config). Terminates execution after printing.

    :param config_dict: Nested dictionary of configuration values for using ESPCN
    :return: None

    """

    print('\nConfiguration parameters-\n')
    for i in config_dict:
        print(i,':')
        for key in config_dict[i]:
            print('  ',key, ':', config_dict[i][key])
        print()
    sys.exit()
 Print configuration dictionary to console

    Configuration values in yaml file (default= config.yaml) passed as a dictionary and printed to the console for convenient inspection. Command line arg is (-pc, --print-config). Terminates execution after printing.

    :param config_dict: Nested dictionary of configuration values for using ESPCN
    :return: None

    
Print configuration dictionary to console
Configuration values in yaml file (default= config.yaml) passed as a dictionary and printed to the console for convenient inspection. Command line arg is (-pc, --print-config). Terminates execution after printing.
Print configuration dictionary to console Configuration values in yaml file ( default = config . yaml ) passed as a dictionary and printed to the console for convenient inspection . Command line arg is ( - pc -- print - config ) . Terminates execution after printing .
def printconfig(config_dict):
    print('\nConfiguration parameters-\n')
    for i in config_dict:
        print(i,':')
        for key in config_dict[i]:
            print('  ',key, ':', config_dict[i][key])
        print()
    sys.exit()
def printconfig ( config_dict ) : print ( '\nConfiguration parameters-\n' ) for i in config_dict : print ( i , ':' ) for key in config_dict [ i ] : print ( '  ' , key , ':' , config_dict [ i ] [ key ] ) print ( ) sys . exit ( )
Print configuration dictionary to console
Configuration values in yaml file (default= config.yaml) passed as a dictionary and printed to the console for convenient inspection.
Print configuration dictionary to console Configuration values in yaml file ( default = config . yaml ) passed as a dictionary and printed to the console for convenient inspection .
""" Print configuration dictionary to console

    Configuration values in yaml file (default= config.yaml) passed as a dictionary and printed to the console for convenient inspection. Command line arg is (-pc, --print-config). Terminates execution after printing.

    :param config_dict: Nested dictionary of configuration values for using ESPCN
    :return: None

    """
None
config_dict
Nested dictionary of configuration values for using ESPCN
Nested dictionary of configuration values for using ESPCN