Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Coles committed Feb 16, 2024
1 parent c45c60d commit 8afbe52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epymorph/engine/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _create_attribute_getter(attr: AttributeDef) -> AttributeGetter:
data_raw = self._get_attribute_value(attr)
data = attr.shape.adapt(self.dim, data_raw, True)
if data is None:
msg = f"Attribute '{attr.name}' could not be adpated to the required shape."
msg = f"Attribute '{attr.name}' could not be adapted to the required shape."
raise AttributeException(msg)
return attr.shape.accessor(data)

Expand Down

0 comments on commit 8afbe52

Please sign in to comment.