except KeyError:
pass
cwg['raw'] = raw_T
- if temperature_config:
+ if temperature_config is not None:
config_cwg = _h5_create_group(cwg, 'config')
- temperature_config.save(group=config_cwg)
+ storage = _HDF5_Storage()
+ storage.save(config=temperature_config, group=config_cwg)
if processed_T is not None:
try:
del cwg['processed']