From dfd11fb723a043c29dca1563f056083567d33f08 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 24 Oct 2024 15:19:14 +0500 Subject: [PATCH] black . --- src/bonsai/bonsai/tool/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/unit.py b/src/bonsai/bonsai/tool/unit.py index 65063c79d2..1ab1375268 100644 --- a/src/bonsai/bonsai/tool/unit.py +++ b/src/bonsai/bonsai/tool/unit.py @@ -188,7 +188,7 @@ class Unit(bonsai.core.tool.Unit): def format_value(cls, value: float) -> str: precision = tool.Ifc.get().by_type("IfcGeometricRepresentationContext")[0].Precision if precision: - decimal_places = math.ceil(math.log10(1/precision)) + decimal_places = math.ceil(math.log10(1 / precision)) else: precision = 1e-5 decimal_places = 5