From f48090612f9d825da5b3090d406a927a3b46a5b8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 8 Sep 2010 10:41:03 -0400 Subject: [PATCH] Mark block level spring constant as a hack in the JPK driver. --- hooke/driver/jpk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2