Skip to content

Commit fd132c3

Browse files
committed
Fix typos
1 parent ae19b7a commit fd132c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mdio/builder/dataset_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def add_dimension(self, name: str, size: int) -> "MDIODatasetBuilder":
106106
def push_dimension(
107107
self, dimension: NamedDimension, position: int, new_dim_chunk_size: int = 1
108108
) -> "MDIODatasetBuilder":
109-
"""Pushes a dimension to all Coordiantes and Variables.
109+
"""Pushes a dimension to all Coordinates and Variables.
110110
111111
The position argument is the domain index of the dimension to push.
112112
If a Variable is within the position domain, it will be inserted at the position
@@ -136,7 +136,7 @@ def push_dimension(
136136
# In-place insertion of the dimension to the existing list of dimensions
137137
self._dimensions.insert(position, dimension)
138138

139-
def propogate_dimension(variable: Variable, position: int, new_dim_chunk_size: int) -> Variable:
139+
def propagate_dimension(variable: Variable, position: int, new_dim_chunk_size: int) -> Variable:
140140
"""Propogates the dimension to the variable or coordinate."""
141141
if len(variable.dimensions) + 1 <= position:
142142
# Don't do anything if the new dimension is not within the Variable's domain
@@ -167,7 +167,7 @@ def propogate_dimension(variable: Variable, position: int, new_dim_chunk_size: i
167167
var = self._variables[i]
168168
if var.name in to_ignore:
169169
continue
170-
self._variables[i] = propogate_dimension(var, position, new_dim_chunk_size)
170+
self._variables[i] = propagate_dimension(var, position, new_dim_chunk_size)
171171

172172
return self
173173

0 commit comments

Comments
 (0)