else:
f = None
try:
- for i,bump in enumerate(raw_data['bump']):
+ if len(data['raw']['bump']) != len(data['bump']):
+ bumps_changed = True
+ for i,bump in enumerate(raw_data['bump']):
data['bump'][i],changed = check_bump(
index=i, bump=bump, z_axis_config=axis_config,
deflection_channel_config=input_config, plot=plot,
bumps_changed = True
bump_group = _h5_create_group(group, 'bump/{}'.format(i))
_bump_save(group=bump_group, processed=data['bump'][i])
+ if len(data['raw']['temperature']) != len(data['temperature']):
+ temperatures_changed = True
for i,temperature in enumerate(raw_data['temperature']):
data['temperature'][i],changed = check_temperature(
index=i, temperature=temperature,
group, 'temperature/{}'.format(i))
_temperature_save(
group=temerature_group, processed=data['temperature'][i])
+ if len(data['raw']['vibration']) != len(data['vibration']):
+ vibrations_changed = True
for i,vibration in enumerate(raw_data['vibration']):
data['vibration'][i],changed = check_vibration(
index=i, vibration=vibration,