yzimmermann commited on
Commit
ee0536e
·
verified ·
1 Parent(s): b6c02bb

Update interpretability.py

Browse files
Files changed (1) hide show
  1. interpretability.py +1 -5
interpretability.py CHANGED
@@ -64,8 +64,4 @@ def save_high_quality_png(smiles, title, bw=True, padding=0.05):
64
  with open(f"{title}.png", "wb") as png_file:
65
  png_file.write(d.GetDrawingText())
66
 
67
- print(f"High-quality PNG file saved as {title}.png")
68
- d.FinishDrawing()
69
- png_data = d.GetDrawingText()
70
- img = Image(data=png_data)
71
- return img
 
64
  with open(f"{title}.png", "wb") as png_file:
65
  png_file.write(d.GetDrawingText())
66
 
67
+ return None