From 5f4143998bb081332c6f02e29bf9fac8e46c7c33 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 4 Jun 2010 04:41:21 -0400 Subject: [PATCH] Minor consistency cleanups in wtk and picoforce drivers --- hooke/driver/picoforce.py | 4 ++-- hooke/driver/wtk.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.26.2