Commit 7c2787b6 by Celine Mercier

trying to fix cython difficulties

parent 14eca43e
......@@ -228,7 +228,11 @@ cdef class Taxonomy(OBIWrapper) :
cpdef write(self, object prefix) :
if obi_write_taxonomy(self._dms.pointer(), self.pointer(), tobytes(prefix)) < 0 :
cdef DMS dms
cdef OBIDMS_p dms_p
dms = self._dms
dms_p = dms.pointer()
if obi_write_taxonomy(dms_p, self.pointer(), tobytes(prefix)) < 0 :
raise Exception("Error writing the taxonomy to binary files")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment