1c01f08cd378eabf223345e4ac7f0357bbf93649,prody/dynamics/functions.py,,calcENM,#Any#Any#Any#Any#Any#Any#Any#,351

Before Change


    elif trim is None:
        trim = "trim"
    else:
        raise TypeError("invalid type for trim: {0}".format(type(model)))

    if trim == "trim" and select is not None:
        if isinstance(select, str):
            atoms = atoms.select(select)

After Change


    elif model is ANM:
        model = "anm"
    else:
        model = str(model).lower().strip() 

    if trim is reduceModel:
        trim = "reduce"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: prody/ProDy
Commit Name: 1c01f08cd378eabf223345e4ac7f0357bbf93649
Time: 2018-02-26
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: calcENM


Project Name: prody/ProDy
Commit Name: d19f211130de38bb931bbf101df7c6d0698d6e56
Time: 2018-02-27
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: calcENM


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: a8530947d48a1e1486017b53944bf130768a2480
Time: 2019-05-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/core/base.py
Class Name: BaseSKMObject
Method Name: reset