8d4d526906bf1b5113c63efcbd526ed2311cbe66,utilities.py,,check_dependencies,#,44

Before Change


    try:
        result = subprocess.check_output("symmetry -h", stderr=subprocess.STDOUT, shell=True)
    except subprocess.CalledProcessError:
        print("{0:<30}{1}".format("symmetry", "Not found. Please install in order to use QM."))
        missing = True
    else:
        match = re.search(r"\$Revision: (\S*) \$", result.decode())

After Change


        "symmetry": _check_symmetry(),
    }

    if any(missing.values()):
        print(
There are missing dependencies as listed above. Please install them before proceeding.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ReactionMechanismGenerator/RMG-Py
Commit Name: 8d4d526906bf1b5113c63efcbd526ed2311cbe66
Time: 2019-08-29
Author: mjliu@mit.edu
File Name: utilities.py
Class Name:
Method Name: check_dependencies


Project Name: librosa/librosa
Commit Name: d9f36b1c8bb77f6829c51987ce310831730623ba
Time: 2019-12-27
Author: kogito@hotmail.fr
File Name: librosa/feature/inverse.py
Class Name:
Method Name: mfcc_to_mel


Project Name: scikit-image/scikit-image
Commit Name: b8a5e5db6c2c0ff9540d84c11c05b21fc6023ae6
Time: 2020-05-04
Author: rfezzani@gmail.com
File Name: skimage/color/colorconv.py
Class Name:
Method Name: rgba2rgb