File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 2929@st .composite
3030def grid2Dmetadata (draw ) -> sgrid .Grid2DMetadata :
3131 N = 8
32- names = draw (st .lists (dimension_name , min_size = N , max_size = N , unique = True ))
32+ names = draw (
33+ st .lists (dimension_name , min_size = N , max_size = N , unique = True )
34+ # Reserved, as 'grid' name is used in Parcels testing to store grid information
35+ .filter (lambda names : "grid" not in names )
36+ )
3337 node_dimension1 = names [0 ]
3438 node_dimension2 = names [1 ]
3539 face_dimension1 = names [2 ]
@@ -74,7 +78,11 @@ def grid2Dmetadata(draw) -> sgrid.Grid2DMetadata:
7478@st .composite
7579def grid3Dmetadata (draw ) -> sgrid .Grid3DMetadata :
7680 N = 9
77- names = draw (st .lists (dimension_name , min_size = N , max_size = N , unique = True ))
81+ names = draw (
82+ st .lists (dimension_name , min_size = N , max_size = N , unique = True )
83+ # Reserved, as 'grid' name is used in Parcels testing to store grid information
84+ .filter (lambda names : "grid" not in names )
85+ )
7886 node_dimension1 = names [0 ]
7987 node_dimension2 = names [1 ]
8088 node_dimension3 = names [2 ]
You can’t perform that action at this time.
0 commit comments