From 6e8de292c6cb21262eb9916d009d14c08ec8a9f3 Mon Sep 17 00:00:00 2001 From: Geert Hesselink <54070862+Ghesselink@users.noreply.github.com> Date: Mon, 11 Mar 2024 11:12:23 +0100 Subject: [PATCH] Redundant closing symbol ' (#4413) * scale placeangleunit * add radian si_conversions * return conversion value of planeangleunit * Update unit.py * redundant closing * redundant closing --- src/ifcopenshell-python/ifcopenshell/util/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/unit.py b/src/ifcopenshell-python/ifcopenshell/util/unit.py index 3ea161561d..f9ac7086ed 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/unit.py +++ b/src/ifcopenshell-python/ifcopenshell/util/unit.py @@ -593,7 +593,7 @@ def calculate_unit_scale(ifc_file, unit_type='LENGTHUNIT'): while unit.is_a("IfcConversionBasedUnit"): unit_scale *= unit.ConversionFactor.ValueComponent.wrappedValue unit = unit.ConversionFactor.UnitComponent - if unit.is_a("IfcSIUnit")': + if unit.is_a("IfcSIUnit"): unit_scale *= get_prefix_multiplier(unit.Prefix) return unit_scale