bb958949caaba2341ae5662c484d5106d68e4aed,prody/ensemble/functions.py,,refineEnsemble,#Any#Any#Any#,622
Before Change
from numpy import argsort
////// obtain reference index
rmsd = ensemble.getRMSDs()
ref_i = np.argmin(rmsd)
////// calculate pairwise RMSDs //////
RMSDs = ensemble.getRMSDs(pairwise=True)
After Change
ref_i = labels.index(ref_i)
else:
LOGGER.warn("cannot found any conformation with the label %s in the ensemble"%str(ref_i))
if not ref_i in P:
P = [ref_i] + P
////// calculate pairwise RMSDs //////
RMSDs = ensemble.getRMSDs(pairwise=True)
def getRefinedIndices(A):
deg = A.sum(axis=0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: prody/ProDy
Commit Name: bb958949caaba2341ae5662c484d5106d68e4aed
Time: 2019-04-15
Author: hongchun@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: refineEnsemble
Project Name: Epistimio/orion
Commit Name: 9d941d30962c211971ec316bf40c2ebfbf28a567
Time: 2021-02-24
Author: xavier.bouthillier@umontreal.ca
File Name: src/orion/analysis/lpi_utils.py
Class Name:
Method Name: lpi
Project Name: prody/ProDy
Commit Name: 54a02c7a3ca3cce7e62f92e0a27244d27f8d9e83
Time: 2019-02-08
Author: hongchun@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: refineEnsemble