From 46a9337a9fcfa6bd95c9bd92f30d3a7578eeb960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Rivi=C3=A8re?= Date: Thu, 1 Jun 2023 17:48:48 +0200 Subject: [PATCH] remove use of obsolete np.float (brainvisa/casa-distro#345) --- pyanatomist/python/anatomist/direct/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyanatomist/python/anatomist/direct/api.py b/pyanatomist/python/anatomist/direct/api.py index c49b7d1..dbf985a 100644 --- a/pyanatomist/python/anatomist/direct/api.py +++ b/pyanatomist/python/anatomist/direct/api.py @@ -1171,7 +1171,7 @@ def convertSingleObjectParamsToIDs(self, v): elif isinstance(v, (six.string_types, int, float, dict, np.int16, np.int32, np.int64, np.int8, np.uint16, np.uint32, np.uint64, np.uint8, - np.float, np.float16, np.float32, np.float64, + np.float16, np.float32, np.float64, np.float128)): return v raise TypeError('Expecting an Anatomist object but got one of type %s'