[Biopython-dev] Bio.Motif._Motif has_instances, has_counts
Bartek Wilczynski
bartek at rezolwenta.eu.org
Thu Aug 9 08:26:33 EDT 2012
On Thu, Aug 9, 2012 at 1:07 PM, Michiel de Hoon <mjldehoon at yahoo.com> wrote:
> 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?
Makes sense to me. +1
--
Bartek Wilczynski
More information about the Biopython-dev
mailing list