MCPcopy Index your code
hub / github.com/openai/plugins / _effective_path

Function _effective_path

plugins/ngs-analysis/scripts/ngs_run_utils.py:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def _effective_path() -> str:
56 base_path = os.environ.get("PATH", "")
57 prepend = LOCAL_ENV.get("NGS_TOOL_PATH_PREPEND", "").strip()
58 if not prepend:
59 return base_path
60 return os.pathsep.join([prepend, base_path]) if base_path else prepend
61
62
63def _effective_env() -> dict[str, str]:

Callers 2

_effective_envFunction · 0.85
command_pathFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected