MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / to_string

Method to_string

src/ifctester/ifctester/reporter.py:536–540  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

534 return results
535
536 def to_string(self) -> str:
537 import pystache
538
539 with open(os.path.join(cwd, "templates", "report.html"), "r") as file:
540 return pystache.render(file.read(), self.results)
541
542 def to_file(self, filepath: str) -> None:
543 import pystache

Callers 1

on_audit_idsMethod · 0.95

Calls 3

openFunction · 0.70
joinMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected