PyDamp/PyDampCheck.py
def check_system_type(product_dict):
    
    
    """ This function checks for errors in the system name input
    
    Parameters - YAML for product information .dict
    ----------

    Returns - checked product_dict
    -------
    
    """
    
    #System system assertions
    System_Type = product_dict.get('System_Type','')
    assert System_Type, 'Input file requires system type'
    
    System_Type = product_dict.get('System_Type')
    assert type(System_Type) == int, 'Input file requires integer input'
    assert 1 <= System_Type <= 30, 'System type input not within range of index'
 This function checks for errors in the system name input
    
    Parameters - YAML for product information .dict
    ----------

    Returns - checked product_dict
    -------
    
    
This function checks for errors in the system name input
Parameters - YAML for product information .dict


This function checks for errors in the system name input Parameters - YAML for product information . dict
def check_system_type(product_dict):
    System_Type = product_dict.get('System_Type','')
    assert System_Type, 'Input file requires system type'
    System_Type = product_dict.get('System_Type')
    assert type(System_Type) == int, 'Input file requires integer input'
    assert 1 <= System_Type <= 30, 'System type input not within range of index'
def check_system_type ( product_dict ) : System_Type = product_dict . get ( 'System_Type' , '' ) assert System_Type , 'Input file requires system type' System_Type = product_dict . get ( 'System_Type' ) assert type ( System_Type ) == int , 'Input file requires integer input' assert 1 <= System_Type <= 30 , 'System type input not within range of index'
This function checks for errors in the system name input
Parameters - YAML for product information .dict
This function checks for errors in the system name input Parameters - YAML for product information . dict
""" This function checks for errors in the system name input
    
    Parameters - YAML for product information .dict
    ----------

    Returns - checked product_dict
    -------
    
    """ #System system assertions
product_dict