cafierom commited on
Commit
62cf798
·
verified ·
1 Parent(s): 2a27121

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -159,9 +159,9 @@ def similars_node(state: State) -> State:
159
  legend = [str(compound.smiles) for compound in res]
160
 
161
  img = Draw.MolsToGridImage(sub_mols, legends=legend, molsPerRow=4, subImgSize=(250, 250))
162
- pic = img.data
163
 
164
- filename = "Similars_image"
165
  # with open(filename+".png",'wb+') as outf:
166
  # outf.write(pic)
167
  img.save(filename)
 
159
  legend = [str(compound.smiles) for compound in res]
160
 
161
  img = Draw.MolsToGridImage(sub_mols, legends=legend, molsPerRow=4, subImgSize=(250, 250))
162
+ #pic = img.data
163
 
164
+ filename = "Similars_image.png"
165
  # with open(filename+".png",'wb+') as outf:
166
  # outf.write(pic)
167
  img.save(filename)