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 2f7b9136cbe85e893e18e5b799a6cdc04cf5acbd..c75fad31e7ae994cf16a3a34e207ec36404a0c42 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)