10 lines
548 B
Python
10 lines
548 B
Python
"""Check bundled snapshot resources without rewriting configuration files."""
|
|
from pathlib import Path
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
required = ["scene/cup_workcell.xml", "data/cup_middle_search/dynamic_scene.xml",
|
|
"assets/l20_left_mj.urdf", "assets/l20_right_mj.urdf",
|
|
"assets/L20/LEFT/g20_left_G20.json"]
|
|
missing = [p for p in required if not (ROOT / p).is_file()]
|
|
if missing: raise SystemExit("Missing snapshot resources: " + ", ".join(missing))
|
|
print("Snapshot resources present; configuration unchanged.")
|