From 8edced5a0c3069dcefba44d1ec41c092a7818209 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 7 Apr 2021 08:03:01 +1000 Subject: [PATCH] Fix bug where rotation check in geolocation micromvd broke in the last release --- src/ifcbimtester/bimtester/features/steps/geolocation/en.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcbimtester/bimtester/features/steps/geolocation/en.py b/src/ifcbimtester/bimtester/features/steps/geolocation/en.py index c83813456c..59ec0c8659 100644 --- a/src/ifcbimtester/bimtester/features/steps/geolocation/en.py +++ b/src/ifcbimtester/bimtester/features/steps/geolocation/en.py @@ -171,7 +171,7 @@ def step_impl(context, number): return check_ifc2x3_geolocation("EPset_MapConversion", "Height", number) abscissa = check_ifc4_geolocation("IfcMapConversion", "XAxisAbscissa", should_assert=False) ordinate = check_ifc4_geolocation("IfcMapConversion", "XAxisOrdinate", should_assert=False) - actual_value = round(ifcopenshell.util.geolocation.xy2angle(abscissa, ordinate), 3) + actual_value = round(ifcopenshell.util.geolocation.xaxis2angle(abscissa, ordinate), 3) value = round(number, 3) assert actual_value == value, _('We expected a value of "{}" but instead got "{}"').format(value, actual_value)