From b3143867dbba7d7fb405e3b94fe30f85645c89a9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 17 May 2010 22:04:06 -0400 Subject: [PATCH] Fix syntax errors in hooke.plugin.curve --- hooke/plugin/curve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooke/plugin/curve.py b/hooke/plugin/curve.py index 594f158..af427d6 100644 --- a/hooke/plugin/curve.py +++ b/hooke/plugin/curve.py @@ -183,7 +183,7 @@ Column of data block to differentiate. def _run(self, hooke, inqueue, outqueue, params): a = params['curve'].data[params['block one']] b = params['curve'].data[params['block two']] - assert a[:,params['x column']] == b[:,params['x column']]: + assert a[:,params['x column']] == b[:,params['x column']] out = Data((a.shape[0],2), dtype=a.dtype) out[:,0] = a[:,params['x column']] out[:,1] = a[:,params['f column']] - b[:,params['f column']] @@ -245,7 +245,7 @@ Column of data block to differentiate with respect to. help=""" Sampling frequency. """.strip()), - Argument(name='chunk size', type='int', 2048, + Argument(name='chunk size', type='int', default=2048, help=""" Number of samples per chunk. Use a power of two. """.strip()), -- 2.26.2