Cython: minor fixes

This commit is contained in:
Celine Mercier committed 2018-10-17 11:26:13 +02:00
1 parent ec73fa840a
commit 6a8670d24a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ cdef class Taxonomy(OBIWrapper) :
if type(ref) == int :
return self.get_taxon_by_taxid(ref)
else :
raise Exception("Not implemented")
raise NotImplementedError()
cpdef Taxon get_taxon_by_taxid(self, int taxid): # TODO check deleted taxon behavior (403122)