diff options
-rw-r--r-- | phstuff/diphawrapper.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |