Commit 6a8670d2 by Celine Mercier

Cython: minor fixes

parent ec73fa84
...@@ -110,7 +110,7 @@ cdef class Taxonomy(OBIWrapper) : ...@@ -110,7 +110,7 @@ cdef class Taxonomy(OBIWrapper) :
if type(ref) == int : if type(ref) == int :
return self.get_taxon_by_taxid(ref) return self.get_taxon_by_taxid(ref)
else : else :
raise Exception("Not implemented") raise NotImplementedError()
cpdef Taxon get_taxon_by_taxid(self, int taxid): # TODO check deleted taxon behavior (403122) cpdef Taxon get_taxon_by_taxid(self, int taxid): # TODO check deleted taxon behavior (403122)
......
...@@ -101,7 +101,7 @@ def fastaNucIterator(lineiterator, ...@@ -101,7 +101,7 @@ def fastaNucIterator(lineiterator,
cdef dict tags cdef dict tags
cdef list s cdef list s
cdef bytes sequence cdef bytes sequence
cdef int lines_to_skip, ionly, read cdef int skipped, ionly, read
cdef Nuc_Seq seq cdef Nuc_Seq seq
if only is None: if only is None:
......
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