mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[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][copy-bug], I did reproduce them with:
5
6     $ ./bin/hk.py
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'
14     Success
15     ...
16     Failure
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
21
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`)
24 curves.
25
26 I'll update this post once I've tracked down the culprit.
27
28 Update: [fixed][].
29
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
32
33 [[!tag tags/hooke]]
34 [[!tag tags/programming]]