You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to think about this a bit, but it'd probably make things more consistent. Maybe also the occasion to bring the core functionalities in one place before writing #383, to test things?
Right now, Mask is a subclass of Raster. However, as currently defined, Raster.data cannot be a bool... So mypy's typing error are ignored for a few functions.
Maybe it would make more sense to have a parent class RasterBase, that allows all data types and only contains the core functionalities?
The text was updated successfully, but these errors were encountered:
Need to think about this a bit, but it'd probably make things more consistent. Maybe also the occasion to bring the core functionalities in one place before writing #383, to test things?
Right now,
Mask
is a subclass ofRaster
. However, as currently defined,Raster.data
cannot be abool
... Somypy
's typing error are ignored for a few functions.Maybe it would make more sense to have a parent class
RasterBase
, that allows all data types and only contains the core functionalities?The text was updated successfully, but these errors were encountered: