[Biopython-dev] [Biopython - Feature #3344] (New) Bio.PDB.Entity classes need a __contains__ method

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Wed Apr 25 02:33:04 UTC 2012


Issue #3344 has been reported by Eric Talevich.

----------------------------------------
Feature #3344: Bio.PDB.Entity classes need a __contains__ method
https://redmine.open-bio.org/issues/3344

Author: Eric Talevich
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
URL: 


The various objects constructed by Bio.PDB have list-like and dict-like behaviors, for the most part. However, the not all of the relevant magic methods have been implemented. (E.g. `residue["CA"]` works, but `"CA" in residue` does not.)

We could do more to support the list-like and dict-like behaviors, but let's start with __contains__.


----------------------------------------
You have received this notification because this email was added to the New Issue Alert plugin


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org




More information about the Biopython-dev mailing list