This example shows writting one piece of geometry to an hdf5 and then reading it back.
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())