From 8ec9bfe611f29c7356510ab68f662abe19da0090 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 13 Jun 2012 14:13:36 -0400 Subject: [PATCH] Save the i-th vibration in analyze_all(), not the list of all vibrations. --- calibcant/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibcant/analyze.py b/calibcant/analyze.py index 780d6da..f8d1bdd 100644 --- a/calibcant/analyze.py +++ b/calibcant/analyze.py @@ -275,7 +275,7 @@ def analyze_all(config, data, raw_data, maximum_relative_error=1e-5, vibration_group = _h5_create_group( group, 'vibration/{}'.format(i)) _vibration_save( - group=vibration_group, processed=data['vibration']) + group=vibration_group, processed=data['vibration'][i]) if (bumps_changed or temperatures_changed or vibrations_changed ) and not dry_run: calibration_group = _h5_create_group(group, 'calibration') -- 2.26.2