Skip to content

Commit

Permalink
Reversed change to core util.
Browse files Browse the repository at this point in the history
  • Loading branch information
burkeds committed Jun 25, 2024
1 parent b002b14 commit febd81f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ophyd_async/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ def get_dtype(typ: Type) -> Optional[np.dtype]:
# datatype = numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
# so extract numpy.float64 from it
return np.dtype(typ.__args__[1].__args__[0]) # type: ignore
elif typ == str:
return np.dtype("U") # Unicode string type
return None


Expand Down

0 comments on commit febd81f

Please sign in to comment.