From 01e2fa44a467178301ff04afaa61762d269f25d4 Mon Sep 17 00:00:00 2001 From: Jamie Rowe Date: Fri, 23 Oct 2026 12:02:51 +0100 Subject: [PATCH] Fixed minor typo in "Default values and attribute levels" table In the table, the `Atom` and `AtomGroup` column headers were swapped, leading to the table being incorrect and potentially confusing --- doc/source/scripts/gen_topologyattr_defaults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/scripts/gen_topologyattr_defaults.py b/doc/source/scripts/gen_topologyattr_defaults.py index 4e507150..250cecad 100644 --- a/doc/source/scripts/gen_topologyattr_defaults.py +++ b/doc/source/scripts/gen_topologyattr_defaults.py @@ -23,10 +23,10 @@ class TopologyDefaults: def __init__(self) -> None: def _atom(klass: TopologyAttr) -> str: - return klass.attrname # type: ignore + return klass.singular # type: ignore def _atomgroup(klass: TopologyAttr) -> str: - return klass.singular # type: ignore + return klass.attrname # type: ignore def _default(klass: TopologyAttr) -> str: try: