httk.atomistic.models.protopattern.label_string¶
Backend wrapping a raw canonical protopattern label string.
Classes¶
Wrap a canonical protopattern label held as a plain string. |
Module Contents¶
- class httk.atomistic.models.protopattern.label_string.ProtopatternLabelString(obj, **hints)[source]¶
Bases:
httk.atomistic.models.protopattern.backend.ProtopatternBackendWrap a canonical protopattern label held as a plain string.
The string must be a canonical unsuffixed protopattern label (no
:species suffix); anything else is declined. Parsing is eager, so the wrapped value is validated at adoption.- Parameters:
obj (str) – The canonical protopattern label text.
**hints (Any) – Backend-selection hints.