lib module

inspect-mol function

#let inspect-mol(data, record: 1)

Documentation

Inspect one Molfile/SDF record without discarding non-depiction data.

The returned dictionary contains stable source IDs, atoms, bonds, enhanced stereo groups, SGroups, collections, ordered SDF properties, the exact raw record, and diagnostics for features the current renderer cannot depict.

Parameters

  • data (any): Molfile/SDF text, bytes, or a Typst 0.15.0+ path.
  • record (int): One-based record number for multi-record SDF input. Default: 1.

Returns

dictionary

Defined in lib.typ:1292.

Source

Module
lib
Defined in
lib.typ:1292
Source
View source