c682a4a369787a1132b4fbe5f19473b1f6d66bbc,nilearn/datasets/struct.py,,_fetch_surf_fsaverage,#Any#,479
Before Change
dataset_dir = _get_dataset_dir("fsaverage", data_dir=data_dir)
url = "https://www.nitrc.org/frs/download.php/10846/fsaverage.tar.gz"
if not os.path.isdir(os.path.join(dataset_dir, "fsaverage")):
_fetch_files(dataset_dir, [("fsaverage.tar.gz", url, {})])
_uncompress_file(os.path.join(dataset_dir, "fsaverage.tar.gz"))
result = {
name: os.path.join(dataset_dir, "fsaverage", "{}.gii".format(name))
for name in ["pial_right", "sulc_right", "sulc_left", "pial_left"]}
result["infl_left"] = os.path.join(
After Change
for part in ["pial", "sulc", "white", "inflated"]
for hemi in ["left", "right"]]
_fetch_files(dataset_dir,
[(os.path.join("fsaverage", "{}.gii".format(name)), url,
{"uncompress": True})
for name in file_names])
result = {
name.replace("inflated", "infl"): os.path.join(
dataset_dir, "fsaverage", "{}.gii".format(name))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: nilearn/nilearn
Commit Name: c682a4a369787a1132b4fbe5f19473b1f6d66bbc
Time: 2020-09-29
Author: jerome@dockes.org
File Name: nilearn/datasets/struct.py
Class Name:
Method Name: _fetch_surf_fsaverage
Project Name: quiltdata/quilt
Commit Name: 920797bae1505b76cfd2e30511e7c15f42d8465b
Time: 2018-01-17
Author: dima@gmail.com
File Name: compiler/quilt/tools/store.py
Class Name: PackageStore
Method Name: __init__
Project Name: tensorflow/datasets
Commit Name: 9cf938143a8cbfc491a46902bd21bc73001cff2b
Time: 2020-04-22
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/image_classification/flowers.py
Class Name: TFFlowers
Method Name: _generate_examples