4b9c72ee5ee2f9f9ea4b47c50035246f73e154b1,prody/dynamics/functions.py,,saveModel,#Any#Any#Any#,28

Before Change



    if isinstance(nma, exANM):
        attr_dict["type"] = "exANM"
        attr_dict["_membrane"] = np.array([nma._membrane, None])
        attr_dict["_combined"] = np.array([nma._combined, None])

    suffix = "." + attr_dict["type"].lower()
    if not filename.lower().endswith(".npz"):
        if not filename.lower().endswith(suffix):

After Change


    //if len(nma) == 0:
    //    raise ValueError("nma instance does not contain data")

    add_attr = kwargs.pop("attr", [])

    dict_ = nma.__dict__
    attr_list = ["_title", "_trace", "_array", "_eigvals", "_vars", "_n_atoms",
                 "_dof", "_n_modes"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: prody/ProDy
Commit Name: 4b9c72ee5ee2f9f9ea4b47c50035246f73e154b1
Time: 2019-03-01
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: saveModel


Project Name: prody/ProDy
Commit Name: c7a1c17074540757c03e0df7225521d950b24cc3
Time: 2019-04-09
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: saveModel


Project Name: has2k1/plotnine
Commit Name: a9ab114eb64600dc6d5e297e2202e529ce2b5006
Time: 2014-02-12
Author: bwillers@gmail.com
File Name: ggplot/geoms/stat_smooth.py
Class Name: stat_smooth
Method Name: plot_layer


Project Name: prody/ProDy
Commit Name: 4b9c72ee5ee2f9f9ea4b47c50035246f73e154b1
Time: 2019-03-01
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: saveModel