14 tfn = IMP.create_temporary_file_name(
"pdb",
".rmf")
16 print "File name is", tfn
19 rh = RMF.create_rmf_file(tfn)
37 rh = RMF.open_rmf_file_read_only(tfn)
42 IMP.atom.show_molecular_hierarchy(hps[0])
47 print "Try running hdf5_display or hdf5_show on", tfn
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, kernel::Model *m)
void save_frame(RMF::FileHandle file, unsigned int, std::string name="")
void load_frame(RMF::FileConstHandle file, unsigned int frame)
A decorator for a particle with x,y,z coordinates.
void add_hierarchies(RMF::NodeHandle fh, const atom::Hierarchies &hs)
See IMP.atom for more information.
void read_pdb(base::TextInput input, int model, Hierarchy h)
Hierarchies get_leaves(const Selection &h)
See IMP.rmf for more information.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Class for storing model, its restraints, constraints, and particles.