Skip to content

Commit

Permalink
remove use of obsolete np.float (brainvisa/casa-distro#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Jun 1, 2023
1 parent aacf869 commit 46a9337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanatomist/python/anatomist/direct/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 46a9337

Please sign in to comment.