Fixed DeprecationWarning from pytest about np.int.
DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
Fixed DeprecationWarning from pytest about
np.int
.np.int
is a deprecated alias for the builtinint
. To silence this warning, useint
by itself. Doing this will not modify any behavior and is safe. When replacingnp.int
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.self._voxels = np.ceil(np.array(box_size) / self._spacing).astype(np.int)
Changed
np.int
tonp.int32
in line 260 ofvina.py
.