66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b,moabb/datasets/alex_mi.py,,data_path,#Any#Any#Any#Any#Any#,15

Before Change


        Local path to the given data file. This path is contained inside a list
        of length one, for compatibility.
      // noqa: E501
    key = "MNE_DATASETS_ALEXEEG_PATH"
    name = "ALEX"
    path = _get_path(path, key, name)
    if subject < 1 or subject > 8:
        raise ValueError("Valid subjects between 1 and 8, subject {:d} requested".format(subject))
    url = "{:s}subject{:d}.raw.fif".format(ALEX_URL, subject)

    destination = _url_to_local_path(url, os.path.join(path, "MNE-alexeeg-data"))

    // Fetch the file
    if not os.path.isfile(destination) or force_update:
        if os.path.isfile(destination):
            os.remove(destination)
        if not os.path.isdir(os.path.dirname(destination)):
            os.makedirs(os.path.dirname(destination))
        _fetch_file(url, destination, print_destination=False)

    // Offer to update the path
    _do_path_update(path, update_path, key, name)
    return destination

class AlexMI(BaseDataset):
    Alex Motor Imagery dataset

After Change


    url = "{:s}subject{:d}.raw.fif".format(ALEX_URL, subject)


    return dl.data_path(url, "ALEXEEG", path, force_update, update_path, verbose)
    
class AlexMI(BaseDataset):
    Alex Motor Imagery dataset
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 33

Instances


Project Name: NeuroTechX/moabb
Commit Name: 66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b
Time: 2018-01-24
Author: vjayaram@danube.is.localnet
File Name: moabb/datasets/alex_mi.py
Class Name:
Method Name: data_path


Project Name: NeuroTechX/moabb
Commit Name: 66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b
Time: 2018-01-24
Author: vjayaram@danube.is.localnet
File Name: moabb/datasets/openvibe_mi.py
Class Name:
Method Name: data_path


Project Name: NeuroTechX/moabb
Commit Name: 66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b
Time: 2018-01-24
Author: vjayaram@danube.is.localnet
File Name: moabb/datasets/download.py
Class Name:
Method Name: data_path


Project Name: NeuroTechX/moabb
Commit Name: 66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b
Time: 2018-01-24
Author: vjayaram@danube.is.localnet
File Name: moabb/datasets/alex_mi.py
Class Name:
Method Name: data_path