Skip to content

Commit ce1ef2b

Browse files
committed
Setup handlers first before building database
1 parent 21ccae1 commit ce1ef2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyard/ard_refactored.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ def __init__(
6060
if config:
6161
self._config.update(config)
6262

63-
# Initialize database and mappings
64-
self._initialize_database(imgt_version, load_mac)
65-
6663
# Initialize specialized handlers
6764
self._initialize_handlers()
6865

6966
# Setup caching
7067
self._setup_caching(max_cache_size)
7168

69+
# Initialize database and mappings
70+
self._initialize_database(imgt_version, load_mac)
71+
7272
# Freeze reference data for Python >= 3.9
7373
self._freeze_reference_data()
7474

0 commit comments

Comments
 (0)