vibesketch.document.geometry_return¶
Checked, additive geometry returns from a viewer, without deriving a new drawing.
Callers with a persisted document identity pass it on send and return. Without one, the exact document digest is the identity, so even unrelated edits refuse. Atom tokens bind the original ordered graph, including added hydrogens. A viewer must carry these tokens with reordered atoms; matching elements alone is unsafe.
Functions
|
The agreed origin vendor payload; geometry and drawing placement are excluded. |
|
Append a verified conformer, retaining all drawing, graph and calculation fields. |
- vibesketch.document.geometry_return.origin(document, species_id, document_id=None)[source]¶
The agreed origin vendor payload; geometry and drawing placement are excluded.
- vibesketch.document.geometry_return.return_geometry(document, data, *, document_id=None)[source]¶
Append a verified conformer, retaining all drawing, graph and calculation fields.
Raises QvfError for missing, ambiguous, foreign or chemically changed mappings. A stale origin revision is accepted only with the identical graph and atom ids.