Mark block level spring constant as a hack in the JPK driver.
authorW. Trevor King <wking@drexel.edu>
Wed, 8 Sep 2010 14:41:03 +0000 (10:41 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 8 Sep 2010 14:41:03 +0000 (10:41 -0400)
hooke/driver/jpk.py

index 2f7b913..c75fad3 100644 (file)
@@ -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)