4227f7c2810a6fc48165311e19a4a6aaac38475e,astroML/datasets/sdss_specgals.py,,fetch_sdss_specgals,#,15

Before Change


        open(archive_file, "wb").write(fitsdata)

    hdulist = fits.open(archive_file)
    return np.asarray(hdulist[1].data)


def fetch_great_wall(data_home=None, download_if_missing=True,

After Change


            data.write(name)

    data1 = Table.read(archive_file1)
    data2 = Table.read(archive_file2)

    data = vstack([data1, data2])
    return np.asarray(data)


def fetch_great_wall(data_home=None, download_if_missing=True,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: astroML/astroML
Commit Name: 4227f7c2810a6fc48165311e19a4a6aaac38475e
Time: 2019-04-16
Author: bsipocz@gmail.com
File Name: astroML/datasets/sdss_specgals.py
Class Name:
Method Name: fetch_sdss_specgals


Project Name: librosa/librosa
Commit Name: c8280cd73ec4782188ab1d8d4d7f4ce349a07f6a
Time: 2016-11-02
Author: brian.mcfee@nyu.edu
File Name: tests/test_effects.py
Class Name:
Method Name: test_trim


Project Name: scikit-image/scikit-image
Commit Name: f8d9a6c144ef84bad2478a4ba4eedb1c559274e0
Time: 2020-11-11
Author: rfezzani@gmail.com
File Name: skimage/_shared/coord.py
Class Name:
Method Name: ensure_spacing