#
# 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
# <http://www.gnu.org/licenses/>.
"""
+>>> import os.path
>>> from hooke.hooke import Hooke, HookeRunner
>>> h = Hooke()
>>> r = HookeRunner()
->>> h = r.run_lines(h, ['load_playlist test/data/vclamp_mfp3d/playlist']) # doctest: +ELLIPSIS
+>>> playlist = os.path.join('test', 'data', 'vclamp_mfp3d', 'playlist')
+>>> h = r.run_lines(h, ['load_playlist ' + playlist])
<FilePlaylist playlist.hkp>
Success
<BLANKLINE>
block sizes: [(1091, 2), (0, 2)]
Success
<BLANKLINE>
+
+Also checkout a newer Image* file
+
+>>> h = r.run_lines(h, ['previous_curve'])
+Success
+<BLANKLINE>
+>>> h = r.run_lines(h, ['curve_info']) # doctest: +ELLIPSIS, +REPORT_UDIFF
+name: Image0396.ibw
+path: test/data/vclamp_mfp3d/Image0396.ibw
+experiment: <class 'hooke.experiment.VelocityClamp'>
+driver: <hooke.driver.mfp3d.MFP3DDriver object at 0x...>
+filetype: mfp3d
+note:
+blocks: 2
+block sizes: [(1006, 3), (0, 3)]
+Success
+<BLANKLINE>
"""