From: devicerandom Date: Fri, 13 Jun 2008 23:18:28 +0000 (+0000) Subject: Added first draft of jpk.py driver for JPK instruments -still not full,nor consistent. X-Git-Tag: 0.9.0~98 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5d02c2962311733d9f1027aa3677cd21f689b16;p=hooke.git Added first draft of jpk.py driver for JPK instruments -still not full,nor consistent. --- diff --git a/hemingclamp.py b/hemingclamp.py index 881a789..e2f2e1c 100755 --- a/hemingclamp.py +++ b/hemingclamp.py @@ -18,17 +18,6 @@ __changelog__=''' import string import libhookecurve as lhc -def hemingclamp_magic(filepath): - ''' - we define our magic heuristic for HemingClamp files - ''' - myfile=file(filepath) - headerlines=myfile.readlines()[0:3] - if headerlines[0][0:10]=='#Hemingway' and headerlines[1][0:19]=='#Experiment: FClamp': - return True - else: - return False - class DataChunk(list): '''Dummy class to provide ext and ret methods to the data list. In this case ext and self can be equal. diff --git a/hooke.conf b/hooke.conf index e07dec9..b590ac9 100755 --- a/hooke.conf +++ b/hooke.conf @@ -35,6 +35,7 @@ This section defines which drivers have to be loaded by Hooke. +