def remove_links(self):
        for link in self._links:
            target_option = link[1]
            try:
                value = link[0].value
            except:
                value = link[0]._value
            if not isinstance(value, (list, tuple)):
                value = [value]
            for v in value:
                if v in target_option._value:
                    i = target_option._value.index(v)
                    del target_option._value[i]
            if len(target_option._value) == 0:
                target_option.dependency = False
Iterate the links associated with this edge and make sure that
dataset/ETHPy150Open thasso/pyjip/jip/pipelines.py/Edge.remove_links