Skip to content

Commit

Permalink
bug QGIS-3.38 macOS numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
fdobad committed Sep 2, 2024
1 parent 037bf05 commit 03fb8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fire2a/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def conv(no_data, dtype, val):
return np.loadtxt(fname, converters=conv, dtype=dtype, **kwargs)


def qgis2numpy_dtype(qgis_dtype: Qgis.DataType) -> Union[np.dtype[Any], None]:
def qgis2numpy_dtype(qgis_dtype: Qgis.DataType) -> Union[np.dtype, None]:
"""Conver QGIS data type to corresponding numpy data type
https://raw.githubusercontent.com/PUTvision/qgis-plugin-deepness/fbc99f02f7f065b2f6157da485bef589f611ea60/src/deepness/processing/processing_utils.py
This is modified and extended copy of GDALDataType.
Expand Down

0 comments on commit 03fb8a8

Please sign in to comment.