From aacd02d0d526c837cd897258f36dba5be5993fbd Mon Sep 17 00:00:00 2001 From: Dmitri Gavrilov Date: Fri, 2 Feb 2024 07:47:54 -0500 Subject: [PATCH] ENH: major version --- pyxrf/model/catalog_management.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyxrf/model/catalog_management.py b/pyxrf/model/catalog_management.py index 312ccb0a..7c219b16 100644 --- a/pyxrf/model/catalog_management.py +++ b/pyxrf/model/catalog_management.py @@ -17,6 +17,7 @@ def get_catalog(catalog_name): from packaging import version import databroker db_version_major = version.parse(databroker.__version__).major == 1 + print(f"Databroker major version: {db_version_major}") if db_version_major == 1: raise ValueError("Non-tiled version of Databroker is installed")