From 27d9f00bb98391d4d92d03f9669aed23d0fe42cd Mon Sep 17 00:00:00 2001 From: simonscryo Date: Thu, 13 Jun 2024 20:14:03 +0000 Subject: [PATCH] skip_bad_types=True for dict_to_am(get_metadata) call --- sodetlib/operations/complex_impedance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sodetlib/operations/complex_impedance.py b/sodetlib/operations/complex_impedance.py index 4cd1638b..76b1248a 100644 --- a/sodetlib/operations/complex_impedance.py +++ b/sodetlib/operations/complex_impedance.py @@ -25,7 +25,7 @@ def new_ci_dset(S, cfg, bands, chans, freqs, run_kwargs=None, ob_path=None, IndexAxis('steps', count=nsteps), IndexAxis('biaslines', count=NBGS), ) - ds.wrap('meta', sdl.dict_to_am(sdl.get_metadata(S, cfg))) + ds.wrap('meta', sdl.dict_to_am(sdl.get_metadata(S, cfg), skip_bad_types=True)) ds.meta.wrap('g3_dir', cfg.sys['g3_dir']) if run_kwargs is not None: ds.wrap('run_kwargs', sdl.dict_to_am(run_kwargs))