14 children = hchain.get_children()
21 for x
in children[:10]])
22 for c
in children[:10]:
23 hchain.remove_child(c)
28 for x
in children[10:20]])
29 for c
in children[10:20]:
30 hchain.remove_child(c)
34 for c
in children[20:]:
35 hchain.remove_child(c)
44 IMP.base.show_graphviz(ept)
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
HierarchyTree get_hierarchy_tree(Hierarchy h)
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
See IMP.kernel for more information.
A decorator for a residue.
See IMP.core for more information.
static Fragment setup_particle(kernel::Model *m, ParticleIndex pi)
See IMP.atom for more information.
void read_pdb(base::TextInput input, int model, Hierarchy h)
Class for storing model, its restraints, constraints, and particles.