From bfbbad93b45cdaae4904c1ec1b3b6bb73b623d1f Mon Sep 17 00:00:00 2001 From: Peter Hickey Date: Tue, 12 Aug 2014 15:41:40 +1000 Subject: [PATCH] Switch to *nix line endings (closes #83). --- comethylation/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comethylation/funcs.py b/comethylation/funcs.py index 430bf75..0b35ef1 100644 --- a/comethylation/funcs.py +++ b/comethylation/funcs.py @@ -282,7 +282,7 @@ def write_methylation_m_tuples_to_file(methylation_m_tuples, OUT): OUT: The file to write output to. """ # tab_writer writes a tab-separated output file to the filehandle OUT - tab_writer = csv.writer(OUT, delimiter='\t', quotechar=' ', quoting=csv.QUOTE_MINIMAL) + tab_writer = csv.writer(OUT, delimiter = '\t', quotechar = ' ', quoting = csv.QUOTE_MINIMAL, lineterminator = '\n') # Get m m = methylation_m_tuples.m