gwpopulation_pipe.main.relative_topdir

relative_topdir(path: str, reference: str) str[source]

Returns the top-level directory name of a path relative to a reference