schrodinger.application.jaguar.html_report.graphics module¶
- schrodinger.application.jaguar.html_report.graphics.get_2d_structure_svg(st: Structure) str | None¶
Given a Structure, use sketcher to render an SVG string of the 2D chemical structure.
- Parameters:
st – The structure to render
- Returns:
The SVG string.
- schrodinger.application.jaguar.html_report.graphics.get_favicon_uri(product_name: str = 'jaguar') str¶
Maps a product name to its specific favicon file and returns the Base64 encoded Data URI string. We must use Base64 encoded SVG as the browser will ignore raw SVG tags in the favicon.
- Parameters:
product_name – The product to select the favicon for.
- Returns:
The favicon as a base64 encoded URI, or empty string if this was not possible.