MCPcopy Create free account
hub / github.com/openai/plugins / write_json

Function write_json

plugins/ngs-analysis/scripts/run_fastq_qc.py:47–49  ·  view source on GitHub ↗
(path: Path, value: Any)

Source from the content-addressed store, hash-verified

45
46
47def write_json(path: Path, value: Any) -> None:
48 path.parent.mkdir(parents=True, exist_ok=True)
49 path.write_text(json.dumps(value, indent=2, sort_keys=True) + "\n", encoding="utf-8")
50
51
52def command_path(name: str) -> str | None:

Callers 2

write_manifestFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected