From 04a74bb70c710d4c4530342a1d076f0e3855fac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Romain=20Bron=C3=A8s?= <romain.brones@synchrotron-soleil.fr>
Date: Tue, 6 Feb 2024 13:55:14 +0100
Subject: [PATCH] fix: reach cast_bool from amenities

---
 ArchiveExtractor/Core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ArchiveExtractor/Core.py b/ArchiveExtractor/Core.py
index d360797..e193cf8 100644
--- a/ArchiveExtractor/Core.py
+++ b/ArchiveExtractor/Core.py
@@ -105,7 +105,7 @@ def _extract_scalar(attribute, method, date1, date2, db, dtype):
 
             # Transform to datetime - value arrays
             if dtype is bool:
-                _value = _cast_bool(_value)
+                _value = aea._cast_bool(_value)
             else:
                 _value = np.asarray(_value, dtype=dtype)
 
-- 
GitLab