def set_adjacency_matrix(self, adjacency_mat):
        adjacency_mat = check_array(adjacency_mat, accept_sparse=sparse_formats)
        if adjacency_mat.shape[0] != adjacency_mat.shape[1]:
            raise ValueError("adjacency matrix is not square")
        self.adjacency_matrix = adjacency_mat
:param event:
dataset/ETHPy150Open mmp2/megaman/megaman/geometry/geometry.py/Geometry.set_adjacency_matrix--crossover with--dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/controller/frmAddPoints.py/AddPoints.onInfoBtn