[Biopython-dev] PAML yn00 under Windows

Peter Cock p.j.a.cock at googlemail.com
Wed Aug 17 21:43:13 UTC 2011


On Wed, Aug 17, 2011 at 10:28 PM, Brandon Invergo <b.invergo at gmail.com> wrote:
> Ok, I just sent a pull request. It turns out that either due to the way
> C works in Windows or due to the way PAML was coded, what was a nice
> "-nan" in Linux is printed as "-1.#IND" in Windows, which messed up
> everything.

That sounds like the C float libraries, the oddities of which are
something which later versions of Python have done a better
and better job of hiding from us ;)

> Rather than parsing it in an algorithmic manner, I got angry
> and threw some regex fu at it, which works a lot nicer than what
> I had before.
>
> Tested successfully in Linux and Windows 7, Python 2.7.2
>
> -brandon

Sounds good - I'll have a look on github (possibly tomorrow),

Peter



More information about the Biopython-dev mailing list