Opened 8 years ago

Closed 7 years ago

#1093 closed defect (fixed)

Problem creating ribbon graphics

Reported by: turmand@… Owned by: Conrad Huang
Priority: normal Milestone: 0.7
Component: Depiction Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

ValueError: operands could not be broadcast together with shapes (0,3) (0,) 

File "/private/var/folders/4t/gy68h3zx0wj_846pqdrtdw_m0000gp/T/AppTranslocation/002F0EB0-9BE7-4796-B28B-D33A647A6535/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 878, in _create_ribbon_graphics
offsets = array(atom_coords) - spline_coords

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu <mailto:chimerax-bugs@cgl.ucsf.edu> and describe what you were doing and include a copy of the contents of the log. Don't include any data you wish to remain private since a publicly viewable bug report will be created.

smime.p7s

Attachments (1)

smime.p7s (1.8 KB ) - added by turmand@… 8 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (3)

by turmand@…, 8 years ago

Attachment: smime.p7s added

Added by email2trac

comment:1 by pett, 8 years ago

Component: UnassignedDepiction
Milestone: 0.7
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: errorProblem creating ribbon graphics

Reported by Daniel Turman

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in tonight's ChimeraX builds.

Zero length array of spline atoms produces a 1-D numpy array of size 0 instead of a 2D array (0 by 3).

Note: See TracTickets for help on using tickets.