Commit 1a54e71b authored by Carlos GO's avatar Carlos GO
Browse files

svg remove

parent bf03c0d2
......@@ -44,6 +44,7 @@ def draw(smiles):
svg = drawer.GetDrawingText()
svg = svg.replace(':svg','')
svg = svg.replace('svg:','')
savepath = os.path.join("static", "mol_drawings", f"{smiles_hash}.svg")
# Draw.MolToFile( mc, savepath )
# for line in svg_file:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment