From: W. Trevor King Date: Wed, 8 Sep 2010 14:41:03 +0000 (-0400) Subject: Mark block level spring constant as a hack in the JPK driver. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f48090612f9d825da5b3090d406a927a3b46a5b8;p=hooke.git Mark block level spring constant as a hack in the JPK driver. --- diff --git a/hooke/driver/jpk.py b/hooke/driver/jpk.py index 2f7b913..c75fad3 100644 --- a/hooke/driver/jpk.py +++ b/hooke/driver/jpk.py @@ -84,7 +84,7 @@ class JPKDriver (Driver): % zip_info['file-format-version']) curve_info = self._zip_translate_params(zip_info, segments[0].info['raw info']) - for segment in segments: + for segment in segments: # HACK, should use curve-level spring constant segment.info['spring constant (N/m)'] = \ curve_info['spring constant (N/m)'] return (segments, curve_info)