def getWeightMatrix(self):
        if self.getVertexList().getNumVertices() != 0: 
            return self.W.toarray()
        else: 
            return numpy.zeros((0, 0))
@see: L{filetransfer.FileTransferClient.openFile}.
dataset/ETHPy150Open charanpald/APGL/apgl/graph/SparseGraph.py/SparseGraph.getWeightMatrix--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/InMemorySFTPClient.openFile