Module ferritin_pymol::pymolparsing::parsing
source · Expand description
This module provides structures and implementations for handling PyMOL session data.
It includes definitions for various PyMOL objects such as molecules, selectors,
and atom information. The module also provides functionality for converting
PyMOL data structures to PDB format using the pdbtbx
crate.
Key structures:
SessionName
: Represents a named session objectPyObjectMolecule
: Represents a molecule in a PyMOL sessionSessionSelector
: Represents a selection in a PyMOL sessionAtomInfo
: Contains detailed information about individual atoms
This module is designed to work with serialized PyMOL session data and provides methods for deserializing and manipulating this data.
§Links
- pymol-open-source. Pymol Source code.
- Molecule Exporter
- PymolMoleculeExporter
- PDB Exporter
- MoleculeExporterPDB
- Gadget_01
- Gadget_02
exporter->init(G); exporter->setMulti(multi); exporter->setRefObject(ref_object, ref_state); exporter->execute(sele, state);
CoordSetAtomToPDBStrVLA Variables:
- m_iter: SeleCoordIterator m_iter; Atoms: how do we check for multiple objects? m_iter.obj defines the object. By number? by name?
- iterate through the coordinates
- check for multi update transformation matrices updateMatrix(m_mat_full, true); updateMatrix(m_mat_move, false); beginCoordSet(); m_last_cs = m_iter.cs; for bonds if (!m_tmpids[m_iter.getAtm()]) m_id = m_retain_ids ? m_iter.getAtomInfo()->id : (m_id + 1); m_tmpids[m_iter.getAtm()] = m_id;
Structs§
- AtomInfo
- Bond Structure
- Coord Set: Class for storage of coordinates
- PyObject
- PyObjectMolecule: Represents a molecule in PyMOL.
- pymol view of 25 floats is likely to be from the
SceneGetView
- SessionName
- Session Selector
Enums§
- Custom Value
- Pymol Object Types
- PymolSessionObjectData
- Global Pymol Settings