Commit 6afd1294 authored by Celine Mercier's avatar Celine Mercier

Cython API: Views: fixed a bug when rewriting a column with different

attributes (last line is not written anymore)
parent a9ba7744
......@@ -263,7 +263,6 @@ cdef class View(OBIWrapper) :
# TODO warning, not multithreading compliant
# TODO there is a bug when rewriting a partial line with None values
cpdef Column rewrite_column_with_diff_attributes(self,
object column_name,
obitype_t new_data_type=<obitype_t>OBI_VOID,
......@@ -272,7 +271,7 @@ cdef class View(OBIWrapper) :
cdef Column old_column
cdef Column new_column
cdef index_t length = len(self)
cdef index_t length = len(self) - 1
cdef column_name_b = tobytes(column_name)
if not :
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