This is a read-only mirror of pymolwiki.org

Pse binary dump

From PyMOL Wiki
Revision as of 07:48, 8 May 2020 by Speleo3 (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The pse_binary_dump setting affects the PyMOL session file format (.pse). If set to on, session export will be significantly faster and produce smaller files.

New in PyMOL 1.8

Examples

fetch 1ubq

set pse_binary_dump, off
save regular.pse

set pse_binary_dump, on
save binary.pse

# compare file size
print(os.path.getsize("regular.pse"))   # prints 215482
print(os.path.getsize("binary.pse"))    # prints 118557

Known Limitations

See Also