vermouth.rcsu.go_utils module¶
Utilities for Go model processors.
- vermouth.rcsu.go_utils.get_go_type_from_attributes(molecule, prefix, **kwargs)[source]¶
Find all nodes that satisfy a number of attributes specified as kwargs and have a specific atomtype prefix.
- Parameters:
molecule (
vermouth.molecule.Molecule
)prefix (str) – the atom-type prefix of the Go virtual side
kwargs – any number of attributes
- Yields:
str – the atom-type
- Raises:
KeyError – If no node can be found that matches attributes and prefix an KeyError is raised.