40799b4748c0faed7434af174c3cab276c476934,install.py,,,#,10

Before Change



if __name__ == "__main__":
    pip_install_requirements()
    setup()

After Change



    success, errmsg = pip_install_requirements()
    if not success:
        print("Failed to install torchbenchmark requirements:")
        print(errmsg)
        if not args.continue_on_fail:
            sys.exit(-1)
    success &= setup(verbose=args.verbose, continue_on_fail=args.continue_on_fail)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pytorch/benchmark
Commit Name: 40799b4748c0faed7434af174c3cab276c476934
Time: 2021-01-28
Author: whc@fb.com
File Name: install.py
Class Name:
Method Name:


Project Name: jonas-koehler/s2cnn
Commit Name: e278d4dc67ac5dacb3546d08100544f4b0454245
Time: 2017-09-23
Author: jonas.koehler.ks@googlemail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: DexterInd/GoPiGo3
Commit Name: 8f188c9f4ce5ba48f572ddb8284dec58e42d75f1
Time: 2017-07-26
Author: robert.lucian.chiriac@gmail.com
File Name: Software/Python/setup.py
Class Name:
Method Name: