MCPcopy
hub / github.com/openai/plugins / write_commands

Function write_commands

plugins/ngs-analysis/scripts/run_bulk_rnaseq_de.py:310–313  ·  view source on GitHub ↗
(run_dir: Path, cmd: list[str])

Source from the content-addressed store, hash-verified

308
309
310def write_commands(run_dir: Path, cmd: list[str]) -> None:
311 write_text(
312 run_dir / "commands.sh", "#!/usr/bin/env bash\nset -euo pipefail\n" + shlex.join(cmd) + "\n"
313 )
314
315
316def write_summary(

Callers 1

mainFunction · 0.70

Calls 1

write_textFunction · 0.90

Tested by

no test coverage detected