From fab2ad6a75f1a05fd043f7ef1da62bb722175063 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Thu, 02 Jun 2016 08:00:32 +0000 Subject: [PATCH] Changed define in initial_distribution.h from A0 to DEF_A0 to avoid possible confusion with global variable A0. The defined value is used in initial_distribution.c only and were renamed everywhere in the file (except in one comment). --- python/trisurf/statistics.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/python/trisurf/statistics.py b/python/trisurf/statistics.py index 9b3d454..5b6d3ff 100644 --- a/python/trisurf/statistics.py +++ b/python/trisurf/statistics.py @@ -10,10 +10,11 @@ with open (statfile,"r") as myfile: #lines = [line.rstrip('\n') for line in myfile] data=data+myfile.readlines()[1:] - - print("Header line placer... Not yet implemented") - for line in data: - print(line.replace('\n','')) + + with open ("combinedStatistics.csv","w") as output: + output.write("Header line placer... Not yet implemented\n") + for line in data: + output.write(line) -- Gitblit v1.9.3