[Biopython-dev] [Bug 2879] New: missing __delitem__ in Bio.PDB.Entity.Entity

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Jul 13 14:44:19 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2879

           Summary: missing __delitem__ in Bio.PDB.Entity.Entity
           Product: Biopython
           Version: 1.51b
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: katja.luck at unistra.fr


I realised that using the __delitem__ method in class Chain causes the
following error message:
...
  File "/Library/Python/2.5/site-packages/Bio/PDB/Chain.py", line 79, in
__delitem__
    return Entity.__delitem__(self, id)
AttributeError: class Entity has no attribute '__delitem__'
And indeed, the class Entity doesn't have the method __delitem__ even though it
is used in Chain.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list