Serialize hooke.experiment.Experiment instances in Curves.
[hooke.git] / hooke / driver / jpk.py
index 39717efc15ec08fa0609d80c0e462e97b2eba325..6c95fe9fd2aac14f124b9a513ac7fd4cd3b9c57e 100644 (file)
@@ -154,7 +154,7 @@ class JPKDriver (Driver):
         # and velocity clamp segments in a single experiment), but I
         # have no idea what sort of analysis such experiments would
         # require ;).
-        info['experiment'] = experiment.VelocityClamp
+        info['experiment'] = experiment.VelocityClamp()
         force_unit = chan_info['channel']['vDeflection']['conversion-set']['conversion']['force']['scaling']['unit']['unit']
         assert force_unit == 'N', force_unit
         force_base = chan_info['channel']['vDeflection']['conversion-set']['conversion']['force']['base-calibration-slot']