def get_target_by_origin(self, origin_index):
    if isinstance(origin_index, str):
        return self.o2t[origin_index]
    elif isinstance(origin_index, list):
        return self.o2t['-'.join(origin_index)]
    else:
        return None
def get_target_by_origin(self, origin_index):
    if isinstance(origin_index, str):
        return self.o2t[origin_index]
    elif isinstance(origin_index, list):
        return self.o2t['-'.join(origin_index)]
    else:
        return None