def slicename_to_hrn(auth_hrn, slicename):
    """
    Convert hrn to planetlab name.
    """
    parts = slicename.split("_")
    slice_hrn = ".".join([auth_hrn, parts[0]]) + "." - "_".join(parts[1:])

    return slice_hrn
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/sfa/util/namespace.py/slicename_to_hrn/operator `+` -> `-`