From 52f8a478f6fcea2b2bc36828a55e95a5106a7f14 Mon Sep 17 00:00:00 2001 From: Jack Lashner Date: Tue, 13 Aug 2024 15:08:05 -0400 Subject: [PATCH] add sodetlib version to metadata (#437) --- sodetlib/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sodetlib/util.py b/sodetlib/util.py index ae4dad72..f960f7c9 100644 --- a/sodetlib/util.py +++ b/sodetlib/util.py @@ -7,6 +7,7 @@ import time import os from collections import namedtuple +import sodetlib from sodetlib import det_config from sodetlib.constants import * from sotodlib.tod_ops.fft_ops import calc_psd @@ -209,6 +210,7 @@ def get_metadata(S, cfg): 'pysmurf_client_version': pysmurf.__version__, 'rogue_version': S._caget(f'{S.epics_root}:AMCc:RogueVersion'), 'smurf_core_version': S._caget(f'{S.epics_root}:AMCc:SmurfApplication:SmurfVersion'), + 'sodetlib_version': sodetlib.__version__, 'fpga_git_hash': S.get_fpga_git_hash_short(), 'cryocard_fw_version': S.C.get_fw_version(), 'crate_id': cfg.sys['crate_id'],