22print(
"File name is", tfn)
25rh = RMF.create_rmf_file(tfn)
37rh = RMF.open_rmf_file_read_only(tfn)
45print(
"Try running rmf_display or rmf_show on", tfn)
Class for storing model, its restraints, constraints, and particles.
Functionality for loading, creating, manipulating and scoring atomic structures.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
Support for the RMF file format for storing hierarchical molecular data and markup.
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Load the given RMF frame into the state of the linked objects.
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Save the current state of the linked objects as a new RMF frame.
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.