vibesketch.document.properties¶
Species property tables and property text under a structure (#93).
The values are the species report’s (vibesketch.chem.report): formula,
masses, elemental analysis and calculated descriptors, labelled as estimates.
CSV keeps full precision; Markdown and LaTeX show two decimals, as the
analysis line does.
Module Attributes
What a property text can show, in the order it shows them. |
Functions
|
The lines of a species' property text, one per field. |
|
One row per species: formula, masses, elemental analysis and descriptors. |
|
|
Exceptions
A table or text that cannot be made as asked. |
- vibesketch.document.properties.FIELDS: tuple[Literal['formula', 'mass', 'analysis', 'logp', 'tpsa'], ...] = ('formula', 'mass', 'analysis', 'logp', 'tpsa')¶
What a property text can show, in the order it shows them.
- exception vibesketch.document.properties.PropertiesRefused[source]¶
Bases:
ValueErrorA table or text that cannot be made as asked.
- vibesketch.document.properties.property_lines(document, species, fields=None)[source]¶
The lines of a species’ property text, one per field.
- vibesketch.document.properties.property_table(document, format='csv')[source]¶
One row per species: formula, masses, elemental analysis and descriptors.