as-cle-bert commited on
Commit
be9ee29
Β·
verified Β·
1 Parent(s): 7f124ce

Update proteins_viz.py

Browse files
Files changed (1) hide show
  1. proteins_viz.py +3 -1
proteins_viz.py CHANGED
@@ -132,4 +132,6 @@ def take_care(pdb_path):
132
  # Load the PNG image into a PIL image
133
  image = Image.open(image_file)
134
 
135
- return image
 
 
 
132
  # Load the PNG image into a PIL image
133
  image = Image.open(image_file)
134
 
135
+ p.write_html("protein.html")
136
+
137
+ return image, "protein.html"