Opened 8 years ago

Closed 8 years ago

#645 closed defect (fixed)

mouse over crosslinks histogram of closed structure causes traceback

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

Description

More along the lines of idiot-proofing. Need to close histogram when structure closes, or maybe explicitly disconnect it somehow?

open 5ml1 format pdb coord t
crossl histogram #1
close #1
(mouse over histogram)

/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molarray.py:234: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 36
return self._objects_class(self._pointers[mask_or_indices])
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 65, 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 85, in _pick_bin
bpb = pb.filter(self._pbond_bin_index == b)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molarray.py", line 234, in filter
return self._objects_class(self._pointers[mask_or_indices])
IndexError: index 1 is out of bounds for axis 1 with size 0

Change History (1)

comment:1 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Note: See TracTickets for help on using tickets.