This might happen on more uncommon residues.
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/Users/jd/workspace35/cing/python/cing/Scripts/FC/mergeNrgBmrbShifts.py", line 143, in <module>
MergeNrgBmrbShifts(sys.argv)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/Generic.py", line 89, in __init__
self.catchError(raiseError,timeFlag)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/Generic.py", line 82, in __init__
self.runSpecific()
File "/Users/jd/workspace35/cing/python/cing/Scripts/FC/mergeNrgBmrbShifts.py", line 100, in runSpecific
self.setBmrbNmrStarMapping(inputStarFile)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/NmrStar.py", line 327, in setBmrbNmrStarMapping
if resLabelList[molCode][resLabelIndexStart][0] in pdbResLabels:
IndexError: list index out of range
When I debug it looks like:
DEBUG: molCode, resLabelIndexStart Adenosine-5'-triphosphate 0
Traceback (most recent call last):
File "/Users/jd/workspace35/cing/python/cing/Scripts/FC/mergeNrgBmrbShifts.py", line 143, in <module>
MergeNrgBmrbShifts(sys.argv)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/Generic.py", line 89, in __init__
self.catchError(raiseError,timeFlag)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/Generic.py", line 82, in __init__
self.runSpecific()
File "/Users/jd/workspace35/cing/python/cing/Scripts/FC/mergeNrgBmrbShifts.py", line 100, in runSpecific
self.setBmrbNmrStarMapping(inputStarFile)
File "/Users/jd/workspace35/ccpn/python/pdbe/adatah/NmrStar.py", line 327, in setBmrbNmrStarMapping
print "DEBUG: resLabelList[molCode][resLabelIndexStart] %s " % str(resLabelList[molCode][resLabelIndexStart])
IndexError: list index out of range
So it appears resLabelList[molCode] is an empty list.
Weird thing is that on nmr it works whereas on stella it fails. JFD to check
versions again.
Original issue reported on code.google.com by jurge...@gmail.com on 4 Feb 2011 at 2:55
Original issue reported on code.google.com by
jurge...@gmail.com
on 4 Feb 2011 at 2:55