From a0a6bdaf5a2d853eede6d00b5f16fc2199e25deb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 30 Aug 2010 13:38:40 -0400 Subject: [PATCH] Added Hooke-update-2, reproducing errors initially found in Hooke-update --- posts/Hooke-update-2.mdwn | 30 ++++++++++++++++++++++++++++++ posts/Hooke-update.mdwn | 4 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 posts/Hooke-update-2.mdwn 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]] -- 2.26.2