5 from __future__
import print_function
11 tfn = IMP.create_temporary_file_name(
"rmf_geometry",
".rmf")
14 f = RMF.create_rmf_file(tfn)
22 IMP.rmf.add_geometry(f, g)
33 f = RMF.open_rmf_file_read_only(tfn)
39 print(gs[0].get_name())
40 print(
"Try running rmf_display on", tfn)
45 print(IMP.display.BoundingBoxGeometry.get_from(gs[0]).get_geometry())
display::Geometries create_geometries(RMF::FileConstHandle parent)
void save_frame(RMF::FileHandle file, unsigned int, std::string name="")
void load_frame(RMF::FileConstHandle file, unsigned int frame)
Output IMP model data in various file formats.
Support for the RMF file format for storing hierarchical molecular data and markup.