Remove 'data = ...' line from the end of vclamp.SurfaceContactCommand._run
authorW. Trevor King <wking@drexel.edu>
Wed, 4 Aug 2010 12:12:53 +0000 (08:12 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 4 Aug 2010 12:12:53 +0000 (08:12 -0400)
hooke/plugin/vclamp.py

index 9151765b296bd2e5d621d1dc48bf095370618875..d4d5b180975d4cdce5383aea24b335d4f9a2bcaf 100644 (file)
@@ -281,7 +281,6 @@ selects the retracting curve.
         new.info['surface detection parameters'] = ps
         new[:,-2] = z_data - surface_offset
         new[:,-1] = d_data - deflection_offset
-        data = params['curve'].data[params['block']]
         params['curve'].data[params['block']] = new
 
     def find_contact_point(self, curve, z_data, d_data, outqueue=None):