glycosylator.resources.icons package#

Icons for drawing glycan structures in 2D

glycosylator.resources.icons.get_base_color(name: str) str[source]#

Get the only base color of a monosaccharide

Parameters:

name (str) – The name of the monosaccharide

Returns:

The base color of the monosaccharide

Return type:

str

glycosylator.resources.icons.get_icon(name: str) ndarray[source]#

Get an icon by name

Parameters:

name (str) – The name of the icon

Returns:

The icon image

Return type:

“ndarray”

glycosylator.resources.icons.get_icon_path(name: str) str[source]#

Get the path to an icon PNG file

Parameters:

name (str)

Return type:

str