Update Hooke-update-2.mdwn to point to bugfix commit.
[blog.git] / posts / Hooke-update-2.mdwn
1 In [[an earlier post|Hooke-update]], I reported seeing `surface
2 distance (m) (m)` columns in my playlist files, but had been unable to
3 reproduce them.  Today, after [fixing bugs with Curve
4 copying](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/59390d466f0d),
5 I did reproduce them with:
6
7     $ ./bin/hk.py
8         -c 'load_playlist test/data/vclamp_picoforce/playlist'
9         -c 'start_command_capture'
10         -c 'zero_surface_contact_point --block approach'
11         -c 'zero_surface_contact_point --block retract'
12         -c 'stop_command_capture'
13         -c 'apply_command_stack_to_playlist --enable-evaluate'
14         -c 'flat_filter_playlist --block retract --min_points 1'
15     Success
16     ...
17     Failure
18     Expected a list of Peaks, not <class 'hooke.command.Failure'>:
19       surface distance (m) not in retract (['z piezo (m)', 'deflection (m)',
20       'surface distance (m) (m)', 'surface deflection (m) (m)']):
21       list.index(x): x not in list
22
23 It appears to be a problem with curve reloading, since it doesn't come
24 up when I use a playlist with less than 100 (`Playlist._max_loaded`)
25 curves.
26
27 I'll update this post once I've tracked down the culprit.
28
29 Update:
30 [fixed](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/230d4483c9da).
31
32 [[!tag tags/hooke]]
33 [[!tag tags/programming]]