[Biopython-dev] Bio.Motif._Motif has_instances, has_counts

Michiel de Hoon mjldehoon at yahoo.com
Thu Aug 9 07:07:20 EDT 2012


Hi guys,

In the Motif class in Bio.Motif._Motif, there is an attribute self.has_instances to identify whether the attributes self.instances is defined. I think that we can remove the self.has_instances attribute from the code and simply set self.instances=None when it is undefined. Same thing for self.counts and self.has_counts.
Any objections?

Best,
-Michiel.


More information about the Biopython-dev mailing list