Spaces:
Sleeping
Sleeping
Also show non carbons in side chains
Browse files
hexviz/🧬Attention_Visualization.py
CHANGED
@@ -97,8 +97,7 @@ def get_3dview(pdb):
|
|
97 |
xyzview.addResLabels({"chain": chain, "resi": res},
|
98 |
{"backgroundColor": "lightgray", "fontColor": "black", "backgroundOpacity": 0.5})
|
99 |
if sidechain_highest:
|
100 |
-
|
101 |
-
xyzview.addStyle({"chain": chain, "resi": res, "elem": "C"},{"stick": {"radius": 0.2}})
|
102 |
return xyzview
|
103 |
|
104 |
xyzview = get_3dview(pdb_id)
|
|
|
97 |
xyzview.addResLabels({"chain": chain, "resi": res},
|
98 |
{"backgroundColor": "lightgray", "fontColor": "black", "backgroundOpacity": 0.5})
|
99 |
if sidechain_highest:
|
100 |
+
xyzview.addStyle({"chain": chain, "resi": res},{"stick": {"radius": 0.2}})
|
|
|
101 |
return xyzview
|
102 |
|
103 |
xyzview = get_3dview(pdb_id)
|