Skip to content

Commit 3956f07

Browse files
Add note on circular import for delay in asserting grid is Xgrid
1 parent 3e2d18e commit 3956f07

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

parcels/spatialhash.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ def __init__(
2424
grid,
2525
reconstruct=False,
2626
):
27-
# TODO : Enforce grid to be an instance of parcels.xgrid.XGrid and curvilinear.
27+
# TODO : Enforce grid to be an instance of parcels.xgrid.XGrid
28+
# Currently, this is not done due to circular import with parcels.xgrid
29+
2830
self._source_grid = grid
2931
self.reconstruct = reconstruct
3032

0 commit comments

Comments
 (0)