stochasticribosome
commited on
Commit
•
3ed3216
1
Parent(s):
09c8e65
Update visualizer background
Browse files
main.py
CHANGED
@@ -105,7 +105,7 @@ def predict(pdb_code, pdb_file):
|
|
105 |
pdb = open(pdb_file.name, "r").read()
|
106 |
|
107 |
view = py3Dmol.view(width=600, height=400)
|
108 |
-
view.setBackgroundColor('
|
109 |
view.addModel(pdb, "pdb")
|
110 |
view.setStyle({'stick': {'colorscheme': {'prop': 'resi', 'C': 'turquoise'}}})
|
111 |
|
|
|
105 |
pdb = open(pdb_file.name, "r").read()
|
106 |
|
107 |
view = py3Dmol.view(width=600, height=400)
|
108 |
+
view.setBackgroundColor('white')
|
109 |
view.addModel(pdb, "pdb")
|
110 |
view.setStyle({'stick': {'colorscheme': {'prop': 'resi', 'C': 'turquoise'}}})
|
111 |
|