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)
Get a graph for the passed Hierarchy.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Base functionality and abstract base classes for representation, scoring and sampling.
A decorator for a residue.
Basic functionality that is expected to be used by a wide variety of IMP users.
static Fragment setup_particle(kernel::Model *m, ParticleIndex pi)
Functionality for loading, creating, manipulating and scoring atomic structures.
void read_pdb(base::TextInput input, int model, Hierarchy h)
Class for storing model, its restraints, constraints, and particles.