def store_edges(self, edges):
        """Store the temporary network edges input file with re-mapped Ids."""
        with open(self.get_path(OslomRunner.TMP_EDGES_FILE), "w") as writer:
            for edge in edges:
                writer.write("{}\t{}\t{}\n".format(
                    self.id_remapper.get_int_id(edge[0]),
                    self.id_remapper.get_int_id(edge[1]),
                    edge[2]))
def store_edges ( self , edges ) : with open ( self . get_path ( OslomRunner . TMP_EDGES_FILE ) , "w" ) as writer : for edge in edges : writer . write ( "{}\t{}\t{}\n" . format ( self . id_remapper . get_int_id ( edge [ 0 ] ) , self . id_remapper . get_int_id ( edge [ 1 ] ) , edge [ 2 ] ) )
Store the temporary network edges input file with re-mapped Ids.