def check_options(options):
    """
    Checks user-supplied keyword options and assigns them

    Parameters
    ----------
    options : dict
        Dictionary of options controlling electronic structure code parameters

    Returns
    -------
    keyword_options : dict
        Dictionary of options controlling electronic structure code parameters
    """
    # Add all additional keywords to here
    keyword_options = {'maxit': 100,
                       'damping': False,
                       'damp_factor': 0.5,
                       'spectral_shift': True,
                       'integral_algo': 'libint_core',
                      }

    for key in options.keys():
        if key in keyword_options.keys(): 
            if type(options[key]) == type(keyword_options[key]):
                # Override default and assign, else print warning
                keyword_options[key] = options[key]
            else:
                print("Value '{}' for keyword option '{}' not recognized. Ignoring.".format(options[key],key))
        else:
            print("{} keyword option not recognized.".format(key))
    return keyword_options