mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 21:12:07 +00:00
black .
This commit is contained in:
@@ -106,7 +106,7 @@ def quantify(ifc_file: ifcopenshell.file, elements: set[ifcopenshell.entity_inst
|
|||||||
for sty in entity_supertypes(ifc_file.schema_identifier, ty):
|
for sty in entity_supertypes(ifc_file.schema_identifier, ty):
|
||||||
if qtos := queries.get(casenorm.get(sty)):
|
if qtos := queries.get(casenorm.get(sty)):
|
||||||
calculator.calculate(ifc_file, group_elements, qtos, results)
|
calculator.calculate(ifc_file, group_elements, qtos, results)
|
||||||
continue # Skip general path to avoid duplicate calculations
|
continue # Skip general path to avoid duplicate calculations
|
||||||
|
|
||||||
# Fallback: per-query evaluation
|
# Fallback: per-query evaluation
|
||||||
for query, qtos in queries.items():
|
for query, qtos in queries.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user