Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 29 Dec 2022 11:21:48 +0100
Bug-Debian: https://bugs.debian.org/1027211
Description: Fix AttributeError: module 'numpy' has no attribute 'float'.
 with numpy/1.24.1

--- a/pbcore/io/dataset/DataSetMembers.py
+++ b/pbcore/io/dataset/DataSetMembers.py
@@ -827,7 +827,7 @@ class Filters(RecordWrapper):
                 'mapqv': (lambda x: x.mapQV),
                 'accuracy': (
                     lambda x: (np.ones(len(x.nMM), dtype='f4') -
-                               (x.nMM + x.nIns + x.nDel).astype(np.float) /
+                               (x.nMM + x.nIns + x.nDel).astype(float) /
                                (x.nM + x.nMM + x.nIns)))
                 }
         base = self._pbiVecAccMap()
@@ -869,11 +869,11 @@ class Filters(RecordWrapper):
                 'bcq': int,
                 'bq': int,
                 'qs': int,
-                'rq': np.float,
+                'rq': float,
                 'pos': int,
                 'tstart': int,
                 'tend': int,
-                'accuracy': np.float,
+                'accuracy': float,
                 'readstart': int,
                 'cx': PbiFlags.flagMap,
                 'n_subreads': int,
