[BioPython] The count method of a Seq (or MutableSeq) object

Michiel de Hoon mjldehoon at yahoo.com
Fri Mar 6 11:52:58 UTC 2009


> > Another option is to continue to use count() for a Python-style count,
> > and to add a new method that does a overlapping-type count. For this
> > new method we'd need a clear but short name, and I can't think of
> > anything now.
> >
> Did you like plan (c), which preserves the Python string style count
> as the default but offers the non-overlapping count via an optional
> argument?
> 
It's also OK, but if we use a different method name we can leave count() untouched altogether.

--Michiel.



      



More information about the Biopython mailing list