> File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py",
> line 1106, in hilightCell
> self.hilightSpecialItems(row,col)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py",
> line 1080, in hilightSpecialItems
> textItem = self.cellTextMatrix[row][col]
> IndexError: list index out of range
Found the problem.
The fix is a new hilightCell() for memops/gui/ScrolledMatrix.py:
-------------------------------------------------------------------------------
def hilightCell(self, row, col):
if self.highlightType:
self.clearHighlights()
if self.highlightType in ('object','cross'):
for j in range(self.visibleCols):
self.hilightSelectItems(row,j)
if (col >= 0) and (col < self.visibleCols):
if self.highlightType == 'cross':
for i in range(self.visibleRows):
self.hilightSelectItems(i,col)
if self.highlightType in ('cell','cross'):
self.hilightSpecialItems(row,col)
elif type(self.highlightType) is type(1):
self.hilightSpecialItems(row,self.highlightType)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Dr Tim Stevens Email: [log in to unmask]
Department of Biochemistry [log in to unmask]
University of Cambridge Phone: +44 1223 766022 (office)
80 Tennis Court Road +44 7816 338275 (mobile)
Old Addenbrooke's Site +44 1223 364613 (home)
Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
United Kingdom http://www.pantonia.co.uk
-------------------------------------------------------------------------------
------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
-------------------------------------------------------------------------------
|