Function cif::pdb::write(const std::filesystem::path&, const file&)

Function Documentation

inline void cif::pdb::write(const std::filesystem::path &p, const file &f)

Write out the data in f to file file in legacy PDB format or mmCIF format, depending on the filename extension.

If extension of file is *.gz* the resulting file will be written in gzip compressed format.