Replace .config rather than reconstructing plugins, drivers, and UIs.
[hooke.git] / hooke / driver / mfp3d.py
index 7f5b2bb36ac8a9d810ae9be1ea59cf00f5484753..63c1a28ed7f7f5b74e06d0d4fc19278c5218cf98 100644 (file)
@@ -6,15 +6,15 @@
 #
 # This file is part of Hooke.
 #
-# Hooke is free software: you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation, either
-# version 3 of the License, or (at your option) any later version.
+# Hooke is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
 #
-# Hooke is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Lesser General Public License for more details.
+# Hooke is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
+# Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with Hooke.  If not, see
@@ -37,7 +37,6 @@ import numpy
 
 from .. import curve as curve
 from .. import experiment as experiment
-from ..config import Setting
 from . import Driver as Driver
 from .igorbinarywave import loadibw
 
@@ -67,7 +66,7 @@ class MFP3DDriver (Driver):
             return True
         return False
     
-    def read(self, path):
+    def read(self, path, info=None):
         data,bin_info,wave_info = loadibw(path)
         approach,retract = self._translate_ibw(data, bin_info, wave_info)