src/figures/fit-space/extract_fit_valley.py: print -> print()
authorW. Trevor King <wking@tremily.us>
Wed, 17 Apr 2013 23:35:38 +0000 (19:35 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 17 Apr 2013 23:35:58 +0000 (19:35 -0400)
src/figures/fit-space/extract_fit_valley.py

index 386127fb7666a155d5d2759332519a097e5f9984..07c355e8463af3d77d03adcd4287ff6613728132 100644 (file)
@@ -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]]))