From 0ac9d739f8575da6fa7f071fca4d30761318e1df Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 13 Jan 2025 11:46:46 +0500 Subject: [PATCH] remove unused code --- src/ifcfm/ifcfm/cobie24.py | 1 - .../ifcopenshell/api/owner/create_owner_history.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ifcfm/ifcfm/cobie24.py b/src/ifcfm/ifcfm/cobie24.py index 6038161b57..44edcc4360 100644 --- a/src/ifcfm/ifcfm/cobie24.py +++ b/src/ifcfm/ifcfm/cobie24.py @@ -616,7 +616,6 @@ def get_component_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity def get_system_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: system, component = element - category = get_category(system) component_name = val(component.Name) return { "Name": val(system.Name), diff --git a/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py b/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py index 669d2cc730..60413782cb 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py +++ b/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py @@ -97,7 +97,6 @@ def create_owner_history(file: ifcopenshell.file) -> Union[ifcopenshell.entity_i # element.OwnerHistory = ifcopenshell.api.owner.create_owner_history(model) space = ifcopenshell.api.root.create_entity(model, ifc_class="IfcSpace") """ - settings = {} user = ifcopenshell.api.owner.settings.get_user(file) if file.schema != "IFC2X3" and not user: