X-Git-Url: http://git.tremily.us/?p=calibcant.git;a=blobdiff_plain;f=calibcant%2FT_analyze.py;h=f7a92e3662ed188a2fe91dbbfed364eca087ebbd;hp=d03bf4d505ce7585b2049e883ececa0ab64a3edf;hb=277131b4942c353fbecaf30d944e1bd4360511ef;hpb=27790ad67e4706f65de1ec22cfcc51e8d3da03bf diff --git a/calibcant/T_analyze.py b/calibcant/T_analyze.py index d03bf4d..f7a92e3 100644 --- a/calibcant/T_analyze.py +++ b/calibcant/T_analyze.py @@ -115,9 +115,10 @@ def T_save(filename, group='/', raw_T=None, temperature_config=None, 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']