d19f211130de38bb931bbf101df7c6d0698d6e56,prody/dynamics/functions.py,,calcENM,#Any#Any#Any#Any#Any#Any#Any#,351

Before Change


    elif model is ANM:
        model = "anm"
    elif isinstance(model, str):
        model = model.lower().strip() 
    else:
        raise TypeError("invalid type for model: {0}".format(type(model)))

    if isinstance(trim, str):
        trim = trim.lower().strip()
    elif trim is reduceModel:
        trim = "reduce"
    elif trim is sliceModel:
        trim = "slice"
    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):

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: d19f211130de38bb931bbf101df7c6d0698d6e56
Time: 2018-02-27
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: calcENM


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: quiltdata/quilt
Commit Name: b4cb0c14ebf600daa5573bc90a419eb24329eb55
Time: 2019-06-05
Author: aleksey@residentmar.io
File Name: api/python/quilt3/packages.py
Class Name: Package
Method Name: browse