Opened 8 years ago

Closed 8 years ago

#644 closed defect (fixed)

mouse over crosslink ensemble histogram gives IndexError

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: major Milestone:
Component: Structure Analysis Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Example:

open 5ml1 format pdb coord t
(select one pseudobond)
crossl hist sel ens #1

...mousing over histogram gives:

crosslinks histogram sel ensemble #1
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/crosslinks/lengths.py", line 179, in _mouse_move
self._pick_bin(i)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/crosslinks/lengths.py", line 194, in _pick_bin
e.active_coordset_id = cset_id
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/drawing.py", line 188, in setattr
super(Drawing, self).setattr(key, value)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molc.py", line 50, in set_prop
cset(self._c_pointer_ref, 1, v_ref)
IndexError: No coordset id 0

Change History (2)

comment:1 by Elaine Meng, 8 years ago

It may depend on which pbond was selected. One pbond that definitely shows the problem is /A:29@SG to /A:208@CD

comment:2 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Note: See TracTickets for help on using tickets.