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:
Yields:

str – the atom-type

Raises:

KeyError – If no node can be found that matches attributes and prefix an KeyError is raised.