Skip to content

Commit 070fb66

Browse files
reint-fischerreint-fischer
authored andcommitted
fix typos
1 parent 1ce4772 commit 070fb66

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

docs/_autoapi_templates/python/module.rst

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,6 @@ Exceptions
6565

6666

6767
{% endif %}
68-
{% set visible_subpackages = obj.subpackages|selectattr("display")|list %}
69-
{% set visible_submodules = obj.submodules|selectattr("display")|list %}
70-
{% set visible_submodules = (visible_subpackages + visible_submodules)|sort %}
71-
{% if visible_submodules %}
72-
Submodules
73-
----------
74-
75-
.. toctree::
76-
:caption: Submodules
77-
:maxdepth: 1
78-
79-
{% for submodule in visible_submodules %}
80-
{{ submodule.include_path }}
81-
{% endfor %}
82-
83-
84-
{% endif %}
8568
{% set visible_attributes = visible_children|selectattr("type", "equalto", "data")|list %}
8669
{% if visible_attributes %}
8770
{% if "attribute" in own_page_types or "show-module-summary" in autoapi_options %}
@@ -129,6 +112,18 @@ Functions
129112
{% endif %}
130113

131114

115+
{% endif %}
116+
{% set visible_subpackages = obj.subpackages|selectattr("display")|list %}
117+
{% set visible_submodules = obj.submodules|selectattr("display")|list %}
118+
{% set visible_submodules = (visible_subpackages + visible_submodules)|sort %}
119+
{% if visible_submodules %}
120+
.. toctree::
121+
:caption: Submodules
122+
:maxdepth: 1
123+
124+
{% for submodule in visible_submodules %}
125+
{{ submodule.include_path }}
126+
{% endfor %}
132127
{% endif %}
133128
{% set this_page_children = visible_children|rejectattr("type", "in", own_page_types)|list %}
134129
{% if this_page_children %}

src/parcels/_core/basegrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GridType(IntEnum):
2222

2323

2424
class BaseGrid(ABC):
25-
"""Define a base class for parcels X and Ux grids with common methods and properties"""
25+
"""Base class for parcels.XGrid and parcels.UxGrid defining common methods and properties"""
2626

2727
@abstractmethod
2828
def search(self, z: float, y: float, x: float, ei=None) -> dict[str, tuple[int, float | np.ndarray]]:

0 commit comments

Comments
 (0)