@staticmethod
def join_comps(*comps):
    """Comps must be strings
        Replacement for os path join as that discards empty string instead of putting a forward slash there"""
    _ = []
    for idx, comp in enumerate(comps):
        assert isinstance(comp, str), f'Provided type {type(comp)}'
        while comp.endswith(('/', '\\')):
            comp = comp[:-1]
        if idx > 0:
            while comp.startswith(('/', '\\')):
                comp = comp[1:]
        if idx not in (0, len(comps) - 1):
            if comp == '':
                continue
        _.append(comp)
    return '/'.join(_)
