Skip to content

Commit

Permalink
Make sure to use the right format for coordinates (#331)
Browse files Browse the repository at this point in the history
* BUG: Make sure to use the right format for coordinates

* MAINT: Use older version of matplotlib to omit pytest errors.
  • Loading branch information
jwboth authored Jun 15, 2024
1 parent e2f6136 commit 2dd3743
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/darsia/corrections/shape/curvature.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,8 @@ def correct_metadata(self, metadata: dict = {}) -> dict:
self.config["crop"]["width"],
]
meta["dimensions"] = dimensions
meta["origin"] = [0, self.config["crop"]["height"]]
meta["origin"] = darsia.CoordinateArray(
[0, self.config["crop"]["height"]]
)

return meta

0 comments on commit 2dd3743

Please sign in to comment.