Example #1
0
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter, self.existing_dir('graphs'))
     return self.file_written(network.save(graph))
Example #2
0
File: api.py Project: clics/pyclics
 def load_graph(self, network, threshold, edgefilter):
     return Network(network, threshold, edgefilter, self.graph_dir).graph
Example #3
0
File: api.py Project: clics/pyclics
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter, self.graph_dir)
     return self.file_written(network.save(graph))
Example #4
0
 def load_network(self, nname, threshold, edgefilter):
     return Network(nname, threshold, edgefilter,
                    self.existing_dir('graphs'))
Example #5
0
 def load_graph(self, network, threshold, edgefilter):
     return Network(network, threshold, edgefilter,
                    self.existing_dir('graphs')).graph
Example #6
0
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter,
                       self.existing_dir('graphs'))
     return self.file_written(network.save(graph))