'wtk' -> self.name in WTKDriver to reduce duplication
authorW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 18:11:04 +0000 (14:11 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 18:11:04 +0000 (14:11 -0400)
hooke/driver/wtk.py

index 640f056b92adf652fd3fc4af10b77c5638c3b369..ec7670d3e896a8e97b43f3051a1a8e31799af531 100644 (file)
@@ -96,7 +96,7 @@ class WTKDriver (Driver):
             unlabeled_approach_data, params, 'approach')
         retract = self._scale_block(
             unlabeled_retract_data, params, 'retract')
-        info = {'filetype':'wtk', 'experiment':experiment.VelocityClamp}
+        info = {'filetype':self.name, 'experiment':experiment.VelocityClamp}
         return ([approach, retract], info)
 
     def _paths(self, path):