From: W. Trevor King Date: Wed, 13 Jun 2012 18:13:36 +0000 (-0400) Subject: Save the i-th vibration in analyze_all(), not the list of all vibrations. X-Git-Tag: 0.8~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ec9bfe611f29c7356510ab68f662abe19da0090;p=calibcant.git Save the i-th vibration in analyze_all(), not the list of all vibrations. --- 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')