Add version 0.2 and 0.12 JPK file examples from Michael Haggerty.
[hooke.git] / test / jpk_driver.py
index f5b7ea0806c39938bf15bb206b6fe5a7093610b7..cfc11c9ed319c3145feb34c78b6bb7e075a6fb0b 100644 (file)
@@ -29,13 +29,17 @@ Success
 >>> h = r.run_lines(h, ['curve_info']) # doctest: +ELLIPSIS, +REPORT_UDIFF
 name: 2009.04.23-15.15.47.jpk
 path: .../test/data/vclamp_jpk/2009.04.23-15.15.47.jpk
-experiment: <hooke.experiment.VelocityClamp object at 0x...>
 driver: <hooke.driver.jpk.JPKDriver object at 0x...>
-filetype: jpk
 note: None
 command stack: []
 blocks: 2
+block names: ['approach', 'retract']
 block sizes: [(4096, 6), (4096, 4)]
 Success
 <BLANKLINE>
+>>> p = h.playlists.current()
+>>> for i,curve in enumerate(p.items()):
+...     print i, [d.info['name'] for d in curve.data]
+... # doctest: +REPORT_UDIFF
+
 """