b62b48b0be060fe72bdb9d7893e8e23fd72e22bb,install_pynauty.py,,,#,10

Before Change


os.system("make pynauty")

// define if insidd virtual-env and install
if hasattr(sys, "real_prefix"):
    os.system("make virtenv-ins")
else:
    os.system("make tests")

After Change


import argparse

parser = argparse.ArgumentParser(description="A program to install pynauty")
parser.add_argument("--venv", help="define if inside a virtual environment")
args = parser.parse_args()
venv = bool(args.venv)

// Define operating system
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ysig/GraKeL
Commit Name: b62b48b0be060fe72bdb9d7893e8e23fd72e22bb
Time: 2017-12-20
Author: y.siglidis@gmail.com
File Name: install_pynauty.py
Class Name:
Method Name:


Project Name: PyThaiNLP/pythainlp
Commit Name: f5ef2adf02d4b00bc15de855828290ab8e900f97
Time: 2020-01-29
Author: arthit@gmail.com
File Name: pythainlp/cli/data.py
Class Name: App
Method Name: __init__


Project Name: erikbern/ann-benchmarks
Commit Name: fed2b6786a4e1b2fd2dc4a97282ebd568a832cf2
Time: 2018-05-07
Author: mail@erikbern.com
File Name: ann_benchmarks/main.py
Class Name:
Method Name: main