From: W. Trevor King Date: Sun, 5 May 2013 01:16:12 +0000 (-0400) Subject: analyze.py: Set `changed = True` for tweaked vibration variance X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=HEAD;p=calibcant.git analyze.py: Set `changed = True` for tweaked vibration variance I missed this in 560f9f9 (Get calibcant working with the new load_from_config-based pyafm, 2012-03-16). --- diff --git a/calibcant/analyze.py b/calibcant/analyze.py index 47d510a..c765387 100644 --- a/calibcant/analyze.py +++ b/calibcant/analyze.py @@ -392,6 +392,7 @@ def check_vibration(index, vibration, config=None, maximum_relative_error=0, else: rel_error = abs(variance-vibration['processed'])/vibration['processed'] if rel_error > maximum_relative_error: + changed = True _LOG.warn(("new analysis doesn't match for vibration {}: {} != {} " "(difference: {}, relative error: {})").format( index, variance, vibration['processed'],