Show how to score a number of ligand conformations loaded from a file against a protein loaded from a pdb.
5 from __future__
import print_function
21 for l
in ligands.get_children():
26 for pa
in protein_atoms:
27 for la
in ligand_atoms:
31 score += ps.evaluate_index(m,
32 (pa.get_particle_index(),
33 la.get_particle_index()),
None)
34 print(
"score for ", l.get_name(),
"is", score)