[Biopython-dev] New line issues in the source zip or tarballs

Peter biopython at maubp.freeserve.co.uk
Mon Nov 3 11:48:06 UTC 2008


On Mon, Sep 8 Peterwrote:
> Tiago wrote:
>> Peter wrote:
>>> In the case of test_PopGen_SimCoal_nodepend.py the failure is
>>> expecting simple.par and simple_100_30.par to be exactly the same size
>>> (in class TemplateTest, line 47).  This is not true going to be true
>>> when the input file uses Unix new lines but the generated file uses
>>> Windows new lines.  Perhaps using a simple bit of code to load the
>>> files line by line and compare them would work here?
>>
>>  I am currently at a workshop (I belong to the organization committee, so I
>> don't have much time), but I will try to sort this in the next couple of
>> days.
>
> This issue new line issue has probably been there since Biopython 1.45
> without anyone else spotting it, so I don't see fixing it as urgent.
> Hopefully we can resolve this for the next release instead.

I've filed Bug 2638 on this with a possible patch.  Could you take a
look at this please?

I just tried installing SIMCOAL2 on my Mac, but failed.  To be fair,
they do only appear to support Linux and Windows...

Thanks

Peter



More information about the Biopython-dev mailing list