From: W. Trevor King Date: Wed, 2 Jun 2010 18:11:04 +0000 (-0400) Subject: 'wtk' -> self.name in WTKDriver to reduce duplication X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be453c00a672769ca5b19ebd72e6bdc3eb807abd;p=hooke.git 'wtk' -> self.name in WTKDriver to reduce duplication --- diff --git a/hooke/driver/wtk.py b/hooke/driver/wtk.py index 640f056..ec7670d 100644 --- a/hooke/driver/wtk.py +++ b/hooke/driver/wtk.py @@ -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):