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

Function _append_potcar_path_candidates

scripts/run_eval_bridge.py:338–342  ·  view source on GitHub ↗
(candidates: list[Path], raw_path: str, source_case_dir: Path)

Source from the content-addressed store, hash-verified

336
337
338def _append_potcar_path_candidates(candidates: list[Path], raw_path: str, source_case_dir: Path) -> None:
339 path = Path(raw_path)
340 candidates.append(path)
341 if not path.is_absolute():
342 candidates.append((source_case_dir / path).resolve())
343
344
345def _extract_tag_hint(raw_tag: str) -> str:

Callers 1

_element_has_potcarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected