aksell commited on
Commit
97dc04c
1 Parent(s): 2baeea3

Reduce attention cylinder size

Browse files
Files changed (1) hide show
  1. hexviz/app.py +1 -1
hexviz/app.py CHANGED
@@ -49,7 +49,7 @@ def get_3dview(pdb):
49
  xyzview.setStyle({"cartoon": {"color": "spectrum"}})
50
  stmol.add_hover(xyzview, backgroundColor="black", fontColor="white")
51
  for att_weight, first, second in attention_pairs:
52
- stmol.add_cylinder(xyzview, start=first, end=second, cylradius=att_weight*3, cylColor='red', dashed=False)
53
  return xyzview
54
 
55
 
 
49
  xyzview.setStyle({"cartoon": {"color": "spectrum"}})
50
  stmol.add_hover(xyzview, backgroundColor="black", fontColor="white")
51
  for att_weight, first, second in attention_pairs:
52
+ stmol.add_cylinder(xyzview, start=first, end=second, cylradius=att_weight, cylColor='red', dashed=False)
53
  return xyzview
54
 
55