[Biopython-dev] [Bug 2638] test_PopGen_SimCoal_nodepend.py fails on Windows do to newline issue
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Mon Nov 3 11:22:16 UTC 2008
http://bugzilla.open-bio.org/show_bug.cgi?id=2638
------- Comment #1 from biopython-bugzilla at maubp.freeserve.co.uk 2008-11-03 06:22 EST -------
Created an attachment (id=1030)
--> (http://bugzilla.open-bio.org/attachment.cgi?id=1030&action=view)
Patch to the PopGen/SimCoal/Template.py and the unit test
Looking at the code, rather than using \n to mean a platform aware new line,
\r\n is used (this doesn't always give a CR LF, but on Windows you get CR CR LF
instead).
Also, are the template files in CVS as plain text files or binary files? I
haven't double checked but I think they may be checked in as binary files with
DOS/Windows new lines...
I haven't committed this as I don't have SIMCOAL installed to check there are
no side effects.
--
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