(sign, path)
return _get_path(path, key, sign)
Returns the dataset path allowing for changes in MNE_DATA
     config

    Parameters
    ----------
    sign : str
        Signifier of dataset
    path : None | str
        Location of where to look for the data storing location.
        If None, the environment variable or config parameter
        ``MNE_DATASETS_(signifier)_PATH`` is used. If it doesn't exist, the
        "~/mne_data" directory is used. If the dataset
        is not found under the given path, the data
        will be automatically downloaded to the specified folder.

    Returns
    -------
        path : None | str
        Location of where to look for the data storing location
Returns the dataset path allowing for changes in MNE_DATA
     config
Returns the dataset path allowing for changes in MNE_DATA config
def get_dataset_path(sign, path):
    """Returns the dataset path allowing for changes in MNE_DATA
     config

    Parameters
    ----------
    sign : str
        Signifier of dataset
    path : None | str
        Location of where to look for the data storing location.
        If None, the environment variable or config parameter
        ``MNE_DATASETS_(signifier)_PATH`` is used. If it doesn't exist, the
        "~/mne_data" directory is used. If the dataset
        is not found under the given path, the data
        will be automatically downloaded to the specified folder.

    Returns
    -------
        path : None | str
        Location of where to look for the data storing location
    """
    sign = sign.upper()
    key = "MNE_DATASETS_{:s}_PATH".format(sign)
    if get_config(key) is None:
        if get_config("MNE_DATA") is None:
            path_def = osp.join(osp.expanduser("~"), "mne_data")
            print(
                "MNE_DATA is not already configured. It will be set to "
                "default location in the home directory - "
                + path_def
                + "\nAll datasets will be downloaded to this location, if anything is "
                "already downloaded, please move manually to this location"
            )
            if not osp.isdir(path_def):
                os.makedirs(path_def)
            set_config("MNE_DATA", osp.join(osp.expanduser("~"), "mne_data"))
        set_config(key, get_config("MNE_DATA"))
    return _get_path(path, key, sign)
def get_dataset_path ( sign , path ) : sign = sign . upper ( ) key = "MNE_DATASETS_{:s}_PATH" . format ( sign ) if get_config ( key ) is None : if get_config ( "MNE_DATA" ) is None : path_def = osp . join ( osp . expanduser ( "~" ) , "mne_data" ) print ( "MNE_DATA is not already configured. It will be set to " "default location in the home directory - " + path_def + "\nAll datasets will be downloaded to this location, if anything is " "already downloaded, please move manually to this location" ) if not osp . isdir ( path_def ) : os . makedirs ( path_def ) set_config ( "MNE_DATA" , osp . join ( osp . expanduser ( "~" ) , "mne_data" ) ) set_config ( key , get_config ( "MNE_DATA" ) ) return _get_path ( path , key , sign )