From 402b9a44340673439734dd141f36770348b0f6fa Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 4 May 2013 21:16:12 -0400 Subject: [PATCH] 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). --- calibcant/analyze.py | 1 + 1 file changed, 1 insertion(+) 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'], -- 2.26.2