format_zmatrix

format_zmatrix(zm, preserve_embedding=True, preserve_indices=True, list_form=True): 

LLM Docstring

Format Z-matrix index rows with width chosen from the largest index and optionally remove embedding placeholders or atom indices.

  • zm: object

    Z-matrix index table

  • preserve_embedding: object

    whether placeholder embedding references in the first rows are retained

  • preserve_indices: object

    whether the leading atom-index column and first row are retained

  • list_form: object

    whether output is formatted as a Python-style nested list

  • :returns: str

    formatted text


Feedback

Examples

Templates

Documentation