diff --git a/parchmint/component.py b/parchmint/component.py index e018208..0fb24cb 100644 --- a/parchmint/component.py +++ b/parchmint/component.py @@ -149,7 +149,9 @@ def rotation(self) -> float: return self.params.get_param("rotation") except Exception as error: print("Could not find rotation for component", error) - raise KeyError(f"Could not find rotation for component: {self.ID}") from error + raise KeyError( + f"Could not find rotation for component: {self.ID}" + ) from error @rotation.setter def rotation(self, value):