From: W. Trevor King Date: Fri, 4 Jun 2010 08:41:21 +0000 (-0400) Subject: Minor consistency cleanups in wtk and picoforce drivers X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f4143998bb081332c6f02e29bf9fac8e46c7c33;p=hooke.git Minor consistency cleanups in wtk and picoforce drivers --- diff --git a/hooke/driver/picoforce.py b/hooke/driver/picoforce.py index 178574e..8018eb5 100644 --- a/hooke/driver/picoforce.py +++ b/hooke/driver/picoforce.py @@ -18,7 +18,7 @@ # License along with Hooke. If not, see # . -"""Library for interpreting Veeco PicoForce force spectroscopy files. +"""Driver for Veeco PicoForce force spectroscopy files. """ import pprint @@ -153,7 +153,7 @@ class PicoForceDriver (Driver): """ version = info['Force file list'].get('Version', None) if version not in ['0x06120002']: - raise ValueError( + raise NotImplementedError( '%s file version %s not supported (yet!)\n%s' % (self.name, version, pprint.pformat(info['Force file list']))) diff --git a/hooke/driver/wtk.py b/hooke/driver/wtk.py index ca3f2c9..45f0946 100644 --- a/hooke/driver/wtk.py +++ b/hooke/driver/wtk.py @@ -16,7 +16,7 @@ # License along with Hooke. If not, see # . -"""Hooke driver for W. Trevor King's velocity clamp data format. +"""Driver for W. Trevor King's velocity clamp data format. See my related projects: