Skip to content

Commit

Permalink
ENH: major version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Feb 2, 2024
1 parent d0f91b4 commit aacd02d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyxrf/model/catalog_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit aacd02d

Please sign in to comment.