bb958949caaba2341ae5662c484d5106d68e4aed,prody/ensemble/functions.py,,refineEnsemble,#Any#Any#Any#,622
Before Change
// find common indices from L and U
I = list(set(L) - (set(L) - set(U)))
for p in P:
if p not in I:
I.append(p)
I.sort()
reens = ensemble[I]
LOGGER.report("Ensemble was refined in %.2fs.", "_prody_refineEnsemble")
After Change
////// obtain reference index
// rmsd = ensemble.getRMSDs()
// ref_i = np.argmin(rmsd)
ref_i = kwargs.pop("ref", 0)
if isinstance(ref_i, Integral):
pass
elif isinstance(ref_i, str):
labels = ensemble.getLabels()
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
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: has2k1/plotnine
Commit Name: e3d654efec256564ccf6185bac95ef6b399fce8b
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/stats/stat_hline.py
Class Name: stat_hline
Method Name: _calculate
Project Name: has2k1/plotnine
Commit Name: e3d654efec256564ccf6185bac95ef6b399fce8b
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/stats/stat_vline.py
Class Name: stat_vline
Method Name: _calculate
Project Name: keras-team/keras
Commit Name: 00135a70697dc9b4611971e5833e2d84501c3da7
Time: 2021-03-23
Author: scottzhu@google.com
File Name: keras/engine/training.py
Class Name: Model
Method Name: evaluate
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