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][copy-bug], I did reproduce them with:
7 -c 'load_playlist test/data/vclamp_picoforce/playlist'
8 -c 'start_command_capture'
9 -c 'zero_surface_contact_point --block approach'
10 -c 'zero_surface_contact_point --block retract'
11 -c 'stop_command_capture'
12 -c 'apply_command_stack_to_playlist --enable-evaluate'
13 -c 'flat_filter_playlist --block retract --min_points 1'
17 Expected a list of Peaks, not <class 'hooke.command.Failure'>:
18 surface distance (m) not in retract (['z piezo (m)', 'deflection (m)',
19 'surface distance (m) (m)', 'surface deflection (m) (m)']):
20 list.index(x): x not in list
22 It appears to be a problem with curve reloading, since it doesn't come
23 up when I use a playlist with less than 100 (`Playlist._max_loaded`)
26 I'll update this post once I've tracked down the culprit.
30 [copy-bug]: http://git.tremily.us/?p=hooke.git;a=commit;h=78e658614176dcca603f9a38323084a169943b26
31 [fixed]: http://git.tremily.us/?p=hooke.git;a=commit;h=ff5770d43d76d7a96652cd887b30a66d87afd5a9
34 [[!tag tags/programming]]