AlphaBetaTest / cing

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

CING finds CCPN residue without name perhaps? #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 266, in <module>
    status = main(*sys.argv[1:])
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 154, in main
    if not project.initCcpn(ccpnFolder = fileNameTgz):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 2252, in initCcpn
    if not ccpn.importFromCcpn(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 331, in importFromCcpn
    if not self.importFromCcpnMolecule(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 447, in importFromCcpnMolecule
    if not self._match2Cing(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 645, in _match2Cing
    residue = chain.addResidue(resNameCing, resNumber, convention = matchingConvention, Nterminal = Nterminal, Cterminal = Cterminal)
  File "/Users/jd/workspace34/cingStable/python/cing/core/molecule.py", line 2151, in addResidue
    res = Residue( resName=resName, resNum=resNum, convention=convention, Nterminal=Nterminal, Cterminal=Cterminal, **kwds )
  File "/Users/jd/workspace34/cingStable/python/cing/core/molecule.py", line 2302, in __init__
    name=resName + str(resNum),    # Only a temporarily name, will be formalised after
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Original issue reported on code.google.com by jurge...@gmail.com on 22 Oct 2009 at 10:10

GoogleCodeExporter commented 9 years ago
Still an issue:

Traceback (most recent call last):
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 266, in <module>
    status = main(*sys.argv[1:])
  File "/Users/jd/workspace34/cingStable/python/cing/Scripts/validateEntry.py", line 154, in main
    if not project.initCcpn(ccpnFolder = fileNameTgz):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 2252, in initCcpn
    if not ccpn.importFromCcpn(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 331, in importFromCcpn
    if not self.importFromCcpnMolecule(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 447, in importFromCcpnMolecule
    if not self._match2Cing(modelCount = modelCount):
  File "/Users/jd/workspace34/cingStable/python/cing/PluginCode/Ccpn.py", line 645, in _match2Cing
    residue = chain.addResidue(resNameCing, resNumber, convention = matchingConvention, Nterminal = Nterminal, Cterminal = Cterminal)
  File "/Users/jd/workspace34/cingStable/python/cing/core/molecule.py", line 2156, in addResidue
    res = Residue( resName=resName, resNum=resNum, convention=convention, Nterminal=Nterminal, Cterminal=Cterminal, **kwds )
  File "/Users/jd/workspace34/cingStable/python/cing/core/molecule.py", line 2307, in __init__
    name=resName + str(resNum),    # Only a temporarily name, will be formalised after
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Original comment by jurge...@gmail.com on 28 Oct 2009 at 10:14

GoogleCodeExporter commented 9 years ago
Fixed in r654.

Original comment by jurge...@gmail.com on 28 Oct 2009 at 10:42