-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add numpy class of variable to conditional in spatial extent validation * numpy scalars now available for the case where the spatial extent consists of a polygon and it is given by a single list * I added some modification in the case where spatial_extent consists on a list of tuples in order to accept np.scalars as valid inptus * I modified line 117 in order that now _spat_extent is a list of floats, just as all the other cases. Without this line, sometimes we will have cases of numpy arrays and it is easier if all the _spatial_extent are list of floats * I added test_numpyfloatlist_bbox and test_numpfloatarray_bbox
- Loading branch information
1 parent
99460e6
commit cb9fa86
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters