def name_relative_to(parent_abspath, child_abspath):
    start = len(parent_abspath)+1 if parent_abspath else 0
    return child_abspath[start:]
Determine the relative name of a child path with respect to a parent
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/util/string_util.py/name_relative_to