MCPcopy Create free account
hub / github.com/SZAILAB/MaterialDFT-Demo / _write_debug_payload

Function _write_debug_payload

src/materialdft/backends/cpp_core.py:31–32  ·  view source on GitHub ↗
(path: Path, payload: dict[str, Any])

Source from the content-addressed store, hash-verified

29
30
31def _write_debug_payload(path: Path, payload: dict[str, Any]) -> None:
32 path.write_text(json.dumps(payload, indent=2) + "\n", encoding="utf-8")
33
34
35@contextlib.contextmanager

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected