[Biopython-dev] [Bug 2779] New: Seq.count() docstring should note unexpected behaviour

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Mar 4 17:03:59 EST 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2779

           Summary: Seq.count() docstring should note unexpected behaviour
           Product: Biopython
           Version: 1.49
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: baoilleach at gmail.com


The Seq.count() method has the following docs:
"Count method, like that of a python string."

This is a cop-out as it does not tell the user anything. In particular, it does
not lead the user to expect that Seq("GGG").count("GG")==1. This might make
sense for Python strings, but it's incorrect for sequences.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Biopython-dev mailing list