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

Function command_plan_entry

plugins/ngs-analysis/scripts/ngs_planner_utils.py:60–64  ·  view source on GitHub ↗
(
    name: str, command: list[str | Path] | str, *, outputs: list[str] | None = None
)

Source from the content-addressed store, hash-verified

58
59
60def command_plan_entry(
61 name: str, command: list[str | Path] | str, *, outputs: list[str] | None = None
62) -> dict[str, Any]:
63 command_string = command if isinstance(command, str) else shell_join(command)
64 return {"name": name, "command": command_string, "outputs": outputs or []}
65
66
67def normalize_sample_name(value: str | None, fallback: str) -> str:

Callers 9

mutect2_planFunction · 0.90
build_planFunction · 0.90
build_planFunction · 0.90
build_qiime2_planFunction · 0.90
build_nfcore_planFunction · 0.90
build_planFunction · 0.90
build_planFunction · 0.90
build_planFunction · 0.90

Calls 1

shell_joinFunction · 0.85

Tested by

no test coverage detected