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

Michiel de Hoon mjldehoon at yahoo.com
Thu Aug 9 16:00:14 UTC 2012


OK, done. Thanks!
-Michiel.

--- On Thu, 8/9/12, Bartek Wilczynski <bartek at rezolwenta.eu.org> wrote:

> From: Bartek Wilczynski <bartek at rezolwenta.eu.org>
> Subject: Re: [Biopython-dev] Bio.Motif._Motif has_instances, has_counts
> To: "Michiel de Hoon" <mjldehoon at yahoo.com>
> Cc: biopython-dev at biopython.org
> Date: Thursday, August 9, 2012, 8:26 AM
> 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