def str_to_bool(s):
    """  String to bool used to read config file
    Parameters
    ----------
    s : str
        String to convert
    Returns
    -------
    s : bool
        Boolean value of input string
    """
    if s == 'True':
        return True
    elif s == 'False':
        return False
    else:
        raise ValueError