From b363416bc885bc0359ef8af506594068d8ed56d5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 21 Mar 2014 13:48:48 +0100 Subject: add todos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/textconf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/textconf b/examples/textconf index e0e723b..89d222f 100644 --- a/examples/textconf +++ b/examples/textconf @@ -391,13 +391,14 @@ if 'solar' in points: (latitude, longitude) = location -# Evaluate point +# Evaluate point ## TODO Make this a standard part of Blueshift if ('solar' not in points) and ('time' not in points): sys.stderr.buffer.write(('Invalid points settings\n').encode('utf-8')) sys.stderr.buffer.flush() sys.exit(1) reduce_points = 'reduce' in points solar_points = 'solar' in points +# TODO support brackets (see textconf.conf) def t(point): point = [float(p) for p in point.split(':')] while len(point) > 3: @@ -411,7 +412,7 @@ if reduce_points: points = [(r / n, v) for r, v in points] get_timepoint = None points.sort(key = lambda x : x[1]) -if not solar_points: +if not solar_points: # TODO does these really handle `reduce` correctly? one_day = 24 * 60 * 60 points.append((points[0][0], points[0][1] + one_day)) points = [(points[-2][0], points[-2][1] - one_day)] + points -- cgit v1.2.3-70-g09d2