MCPcopy Create free account
hub / github.com/IDEA-Research/DINO / get_shared_folder

Function get_shared_folder

run_with_submitit.py:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def get_shared_folder() -> Path:
34 user = os.getenv("USER")
35 if Path("/comp_robot").is_dir():
36 p = Path(f"/comp_robot/{user}/experiments")
37 p.mkdir(exist_ok=True)
38 return p
39 raise RuntimeError("No shared folder available")
40
41
42def get_init_file():

Callers 1

get_init_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected