44
55license: MIT
66Copyright (c) 2024/25 DocMinus
7- Tools for server usage, basically independet from used environment, only requires the server running somehwere
7+ Tools for server usage, basically independent from used environment, only requires the server running somewhere
88
9- working tools implementation, now as class to submitt a different port
9+ working tools implementation, now as class to submit a different port
1010typo fixed; host added to __init__ method, allows to run not just locally
1111V 0.6.0, 2026-04-06
1212now automatic EMF to PNG conversion based on Inkscape presence. See readme for installation instructions.
@@ -149,7 +149,7 @@ def call_image2smiles(
149149 hand_drawn : bool = False ,
150150 classify_image : bool = True ,
151151 ) -> str | None :
152- """Calls decimer Server to convert an image to a SMILES string.
152+ """Calls DECIMER server to convert an image to a SMILES string.
153153
154154 Checks for correct image type and size before sending the image to the server.
155155 Converts EMF images to PNG if Inkscape is installed.
@@ -175,7 +175,7 @@ def call_image2smiles_with_meta(
175175 hand_drawn : bool = False ,
176176 classify_image : bool = True ,
177177 ) -> dict [str , Any ] | None :
178- """Calls decimer Server and returns the full response payload.
178+ """Calls DECIMER server and returns the full response payload.
179179
180180 Keeps parity with server metadata fields while preserving `call_image2smiles`
181181 for backwards-compatible smiles-only usage.
0 commit comments