AlphaBetaTest / cing

Automatically exported from code.google.com/p/cing
0 stars 0 forks source link

FC crashes on ATP CS merging into mmCIF derived NMR-STAR #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Current code versions do not have this problem anymore on nmr.cmbi.ru.nl.

Original comment by jurge...@gmail.com on 28 Mar 2011 at 8:17