mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix #4526. Bug when exporting IfcTester results to BCF due to new "failures" attribute.
This commit is contained in:
@@ -424,9 +424,7 @@ class Ods(Json):
|
||||
|
||||
class Bcf(Json):
|
||||
def report_failed_entities(self, requirement):
|
||||
return [
|
||||
{"reason": requirement.failed_reasons[i], "element": e} for i, e in enumerate(requirement.failed_entities)
|
||||
]
|
||||
return [{"reason": f["reason"], "element": f["element"]} for f in requirement.failures]
|
||||
|
||||
def to_file(self, filepath: str) -> None:
|
||||
import numpy as np
|
||||
|
||||
Reference in New Issue
Block a user