(self, new_anchors)
takes a list of tuples (id, new_anchor) and updates the phase anchors
takes a list of tuples (id, new_anchor) and updates the phase anchors
takes a list of tuples ( id new_anchor ) and updates the phase anchors
def update_schedule_phase_anchors(self, new_anchors):
        """ takes a list of tuples (id, new_anchor) and updates the phase anchors """
        for anchor in new_anchors:
            id = anchor[0] - 1
            new_anchor = anchor[1]
            try:
                list(self.get_schedule_phases())[id].change_anchor(new_anchor)
            except IndexError:
                pass
def update_schedule_phase_anchors ( self , new_anchors ) : for anchor in new_anchors : id = anchor [ 0 ] - 1 new_anchor = anchor [ 1 ] try : list ( self . get_schedule_phases ( ) ) [ id ] . change_anchor ( new_anchor ) except IndexError : pass