httk.atomistic.models.protostructure.label_string¶
Backend wrapping a raw canonical protostructure label string.
Classes¶
Wrap a canonical httk protostructure label held as a plain string. |
Module Contents¶
- class httk.atomistic.models.protostructure.label_string.ProtostructureLabelString(obj, **hints)[source]¶
Bases:
httk.atomistic.models.protostructure.backend.ProtostructureBackendWrap a canonical httk protostructure label held as a plain string.
The string must be a canonical label carrying a
:species suffix; the unsuffixed protopattern labels are declined (they belong to the protopattern family). Each name becomesSpecies(name, (name,), (1,)). Parsing is eager.- Parameters:
obj (str) – The canonical protostructure label text.
**hints (Any) – Backend-selection hints.