[Biopython-dev] Re: [BioPython] tests failing

Jeffrey Chang jchang at SMI.Stanford.EDU
Tue Jul 31 12:56:04 EDT 2001


Hey Mark,

Thanks for letting us know about these.  I'm moving this thread onto 
the "biopython-dev" list, as it's probably more appropriate there.

>Failure: test_SubsMat
>
>AssertionError:
>output: 'M0.00 0.40 0.70 0.80 1.00\n'
>Expected: 'M -0.00 0.40 0.70 0.80 1.00\n'

It looks like this is from a difference in how windows and Iddo's OS 
handles 0's.  It's probably not serious, but should be fixed.  Iddo, 
can you write some code that will check for this?


>Error: test_gobase
>
>from Bio import Sequence
>ImportError: cannot import name Sequence
>
>Error: test_rebase
>
>from Bio import Sequence
>ImportError: cannot import name Sequence

These seem to be from some legacy code that hasn't been cleaned up. 
It's now fixed in the CVS and will be incorporated into the next 
release.



>Failure: test_prodoc
>
>AssertionError:
>Output: 'J. \n'
>Expected: 'J. \n'

Brad, this looks pretty odd.  Is it a newline problem?

Jeff



More information about the Biopython-dev mailing list