66b0061685aa10d124ef89c9a2f5ddeb7ce1ea1b,moabb/datasets/download.py,,data_path,#Any#Any#Any#Any#Any#,19
Before Change
destinations = [destination]
// Fetch the file
if not op.isfi le(destination) or force_update:
if op.isfile(destination):
os.remove(destination)
if not op.isdir(op.dirname(destination)):
os.makedirs(op.dirname(destination))
_fetch_file(url, destination, print_destination=False)
// Offer to update the path
_do_path_update(path, update_path, key, name)
After Change
-------
path : list of str
Local path to the given data file. This path is contained inside a list
of length one, for compatibility.
// noqa: E501
sign = sign.upper()
key = "MNE_DATASETS_{:s}_PATH".format(sign)
path = _get_path(path, key, sign)
destination = _url_to_local_path(url, op.join(path,
"MNE-{:s}-data".format(sign.lower())))
// Fetch the file
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances 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/download.py
Class Name:
Method Name: data_path
Project Name: PetrochukM/PyTorch-NLP
Commit Name: def0dfbfbc6f840484a10cc4e963cfa8686ded69
Time: 2018-04-01
Author: petrochukm@gmail.com
File Name: torchnlp/utils.py
Class Name:
Method Name: download_urls
Project Name: dmlc/gluon-cv
Commit Name: db06f8e1ea800f8dd98665542e238f9e47597488
Time: 2018-04-17
Author: 8041160+zhanghang1989@users.noreply.github.com
File Name: scripts/datasets/ade20k.py
Class Name:
Method Name: