Opened 9 years ago
Closed 9 years ago
#357 closed defect (fixed)
divide-by-zero error when changing 5fj9 to stick
| Reported by: | Elaine Meng | Owned by: | Tom Goddard |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Depiction | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
open 5fj9
style stick
gives warning in Log:
/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/structure.py:1773: RuntimeWarning: divide by zero encountered in true_divide
c1 = 1.0/(1+c)
/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/structure.py:1774: RuntimeWarning: invalid value encountered in multiply
cx,cy = c1*wx, c1*wy
Change History (2)
comment:1 by , 9 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed.
Code did not properly display cylinder bonds aligned exactly with z axis.