This is maybe a bug report that happens reading long lines in a text database.
I am currently handling large data base files for linear fit analysis, basically I have to handle a 828 x 828
matrix. Writing in the text db 828 lines containing each 828 comma separated values with a single
new-line at the end does not work, maybe the read buffer is too large.
So I propose the following modification to ROMETextDataBase.cpp:
Suppose you have a field named "coefficients" which is declared "array", say of four numbers, in the
xml file. In the text data base it appears as:
<coefficients>
one,two,three,four
one,two,three,four
one,two,three,four
...
</coefficients>
One should be able to write the same code as follows:
<coefficients>
one,
two,
three,
four <----- note there is NO COMMA here!
one,
two,
three,
four
one,two,three,four
...
</coefficients>
or
<coefficients>
one,two,
three,four
one,two,three,
four
one,
two,three,four
...
</coefficients>
In this way I can write a single column of (comma separated) values. Can somebody (Ryu?) take care of
this (I hope simple) modification?
Thanks.
|