a902ddf5be91cb738efb1746847f74bb0f756ae2,prody/dynamics/perturb.py,,calcDynamicFlexibilityIndex,#Any#Any#Any#,137
Before Change
*Evol Appl.* **2013** 6(3):423-33.
if not isinstance(prs_matrix, np.ndarray):
raise TypeError("prs_matrix should be a numpy array")
if prs_matrix.ndim != 2:
raise ValueError("prs_matrix should be 2-dimensional")
if not isinstance(atoms, Atomic):
After Change
*Evol Appl.* **2013** 6(3):423-33.
if not isinstance(model, NMA) or not model.is3d():
raise TypeError("model must be of type ANM or PCA, not {0}"
.format(type(model)))
if not isinstance(atoms, Atomic):
raise TypeError("atoms should be an Atomic object")
norm = kwargs.get("norm", False)
if norm:
prs_matrix, _, _ = calcPerturbResponse(model, atoms=atoms, **kwargs)
else:
prs_matrix = model.getCovariance()
if not isinstance(select, (str, Selection)):
raise TypeError("select should be a Selection or selection string")
profiles = sliceAtomicData(prs_matrix, atoms, select, axis=0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: prody/ProDy
Commit Name: a902ddf5be91cb738efb1746847f74bb0f756ae2
Time: 2021-02-01
Author: jamesmkrieger@gmail.com
File Name: prody/dynamics/perturb.py
Class Name:
Method Name: calcDynamicFlexibilityIndex
Project Name: prody/ProDy
Commit Name: a902ddf5be91cb738efb1746847f74bb0f756ae2
Time: 2021-02-01
Author: jamesmkrieger@gmail.com
File Name: prody/dynamics/perturb.py
Class Name:
Method Name: calcDynamicCouplingIndex
Project Name: wkentaro/labelme
Commit Name: 7ad8d5c5cf89269d191117c4dd41ce205bc66c8c
Time: 2019-05-15
Author: www.kentaro.wada@gmail.com
File Name: labelme/app.py
Class Name: MainWindow
Method Name: editLabel