[Fix] AppDomain Leftovers (#161)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#161
This commit is contained in:
2025-10-16 08:17:39 +13:00
parent 93dd811e39
commit d5ebb23622
4 changed files with 70 additions and 10 deletions

View File

@ -729,6 +729,7 @@ class IndigoUtils(object):
height: int = 0,
educt_functional_groups: Dict[str, int] = None,
product_functional_groups: Dict[str, int] = None,
debug: bool = False,
):
if educt_functional_groups is None:
educt_functional_groups = {}
@ -739,6 +740,11 @@ class IndigoUtils(object):
i = Indigo()
renderer = IndigoRenderer(i)
if debug:
i.setOption("render-atom-ids-visible", True)
i.setOption("render-bond-ids-visible", False)
i.setOption("render-atom-bond-ids-from-one", True)
i.setOption("render-output-format", "svg")
i.setOption("render-coloring", True)
i.setOption("render-image-size", width, height)