sim_explorer.utils.paths

Functions

get_path(p1[, base])

Get the full path of p1, which could be relative to base.

relative_path(p1, p2)

Identify the path of p1 relative to the file p2.

sim_explorer.utils.paths.get_path(p1: str, base: Path | None = None) Path

Get the full path of p1, which could be relative to base.

sim_explorer.utils.paths.relative_path(p1: Path, p2: Path) str

Identify the path of p1 relative to the file p2.