From d8a2062c7c5264bb051cd13292a8659787e9c408 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Tue, 29 Mar 2016 13:35:34 +0200 Subject: Cubical support. --- phstuff/diphawrapper.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phstuff/diphawrapper.py b/phstuff/diphawrapper.py index 136104e..e7ffa73 100644 --- a/phstuff/diphawrapper.py +++ b/phstuff/diphawrapper.py @@ -364,6 +364,12 @@ class DiphaRunner: save_edge_list(self.ifile, edge_list) self.ready = True + def cubical(self, complex): + """Initialize to run with a cubical complex. See `save_cubical`.""" + + save_cubical(self.ifile, complex) + self.read = True + def run(self): """Run DIPHA. Success is indicated by `code` member of the object being zero. If that is the case, then the result is available -- cgit v1.2.3