cba3992c51d4484656983fb7018455a44586691e,recordlinkage/datasets/external.py,,_download_krebsregister,#,97

Before Change



        // unzip the content and put it in the krebsregister folder
        z = zipfile.ZipFile(BytesIO(r))
        z.extractall(os.path.join(os.path.dirname(__file__), "krebsregister"))

        print("Data download succesfull.")

After Change



        // unzip the content and put it in the krebsregister folder
        z = zipfile.ZipFile(BytesIO(r))
        z.extractall(str(Path(Path(__file__).parent, "krebsregister")))

        print("Data download succesfull.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: J535D165/recordlinkage
Commit Name: cba3992c51d4484656983fb7018455a44586691e
Time: 2019-07-12
Author: jonathandebruinos@gmail.com
File Name: recordlinkage/datasets/external.py
Class Name:
Method Name: _download_krebsregister


Project Name: J535D165/recordlinkage
Commit Name: cba3992c51d4484656983fb7018455a44586691e
Time: 2019-07-12
Author: jonathandebruinos@gmail.com
File Name: recordlinkage/datasets/external.py
Class Name:
Method Name: _download_krebsregister


Project Name: matplotlib/matplotlib
Commit Name: 52136a7dda72978004f6af8e90e9ebe7596c27b8
Time: 2019-11-26
Author: anntzer.lee@gmail.com
File Name: examples/user_interfaces/mpl_with_glade3_sgskip.py
Class Name:
Method Name: main


Project Name: scikit-image/scikit-image
Commit Name: ddfac3e42d2ae2e09751de6638d813c76e30ff94
Time: 2018-12-04
Author: mark.harfouche@gmail.com
File Name: tools/check_sdist.py
Class Name:
Method Name: