[Biopython-dev] test_PopGen_GenePop_EasyController.py failure on Jython
Peter
biopython at maubp.freeserve.co.uk
Thu Nov 11 19:16:57 UTC 2010
2010/11/10 Peter <biopython at maubp.freeserve.co.uk>:
> 2010/11/10 Tiago Antão <tiagoantao at gmail.com>:
>>
>> I know, this might be an issue with the jython version (being just a
>> release candidate). I am going to wait for results on 2.5.1 and
>> compare. Or I might just install it myself and see.
>
> I also see the same test_get_alleles failure on the Mac and on
> Windows 32 using Jython 2.5.1, so it isn't a Jython 2.5.2 relase
> candidate specific issue.
Yes, the order just came from the order of a dict's keys - which
is Python implementation dependent. Quick fix committed:
https://github.com/biopython/biopython/commit/2aa604e54df02804219e092141bb32728b021a64
If you actually care about the order, then perhaps add a
sorted(...) to the get_alleles method itself instead?
Peter
More information about the Biopython-dev
mailing list