From 615fa8033c2f27e7197c7324c1c54e6aeac087c1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Apr 2013 19:35:38 -0400 Subject: [PATCH] src/figures/fit-space/extract_fit_valley.py: print -> print() --- src/figures/fit-space/extract_fit_valley.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/figures/fit-space/extract_fit_valley.py b/src/figures/fit-space/extract_fit_valley.py index 386127f..07c355e 100644 --- a/src/figures/fit-space/extract_fit_valley.py +++ b/src/figures/fit-space/extract_fit_valley.py @@ -28,7 +28,7 @@ max_x = max(xs) min_x = min(xs) border_xs = xs[:3] + xs[-3:] -print header +print(header) for k in ks: best_x = xs[0] best_residual = data[(k,x)] @@ -39,4 +39,4 @@ for k in ks: best_residual = residual if best_x in border_xs: continue # don't print minimums up against the data boundaries - print '\t'.join([str(z) for z in [k,best_x,best_residual]]) + print('\t'.join([str(z) for z in [k,best_x,best_residual]])) -- 2.26.2