Add version 0.2 and 0.12 JPK file examples from Michael Haggerty.
[hooke.git] / test / jpk_driver.py
index 8261c7e27994694c6e1ed3dab1ff46bbfc53c88d..cfc11c9ed319c3145feb34c78b6bb7e075a6fb0b 100644 (file)
@@ -29,12 +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: <class 'hooke.experiment.VelocityClamp'>
 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
+
 """