From: W. Trevor King Date: Mon, 30 Aug 2010 17:38:40 +0000 (-0400) Subject: Added Hooke-update-2, reproducing errors initially found in Hooke-update X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0a6bdaf5a2d853eede6d00b5f16fc2199e25deb;p=mw2txt.git Added Hooke-update-2, reproducing errors initially found in Hooke-update --- diff --git a/posts/Hooke-update-2.mdwn b/posts/Hooke-update-2.mdwn new file mode 100644 index 0000000..a7217cd --- /dev/null +++ b/posts/Hooke-update-2.mdwn @@ -0,0 +1,30 @@ +In [[an earlier post|Hooke-update]], I reported seeing `surface +distance (m) (m)` columns in my playlist files, but had been unable to +reproduce them. Today, after [fixing bugs with Curve +copying](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/59390d466f0d), +I did reproduce them with: + + $ ./bin/hk.py + -c 'load_playlist test/data/vclamp_picoforce/playlist' + -c 'start_command_capture' + -c 'zero_surface_contact_point --block approach' + -c 'zero_surface_contact_point --block retract' + -c 'stop_command_capture' + -c 'apply_command_stack_to_playlist --enable-evaluate' + -c 'flat_filter_playlist --block retract --min_points 1' + Success + ... + Failure + Expected a list of Peaks, not : + surface distance (m) not in retract (['z piezo (m)', 'deflection (m)', + 'surface distance (m) (m)', 'surface deflection (m) (m)']): + list.index(x): x not in list + +It appears to be a problem with curve reloading, since it doesn't come +up when I use a playlist with less than 100 (`Playlist._max_loaded`) +curves. + +I'll update this post once I've tracked down the culprit. + +[[!tag tags/hooke]] +[[!tag tags/programming]] diff --git a/posts/Hooke-update.mdwn b/posts/Hooke-update.mdwn index a32265c..fd00a01 100644 --- a/posts/Hooke-update.mdwn +++ b/posts/Hooke-update.mdwn @@ -52,8 +52,8 @@ It did, however turn up a couple of outstanding issues: or string objects. ([fixed](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/302413fafa96)) - `surface distance (m) (m)` column. Obviously someone is adding - units twice. I need to figure out who it is ;). (could not - reproduce. Maybe I screwed up the units myself. ;) + units twice. I need to figure out who it is ;). + ([[Reproduced|Hooke-update-2]]) [[!tag tags/hooke]] [[!tag tags/programming]]