Loadcsv.py produces malformed dlf file


#1

We’ve recently upgraded to 14.7, and I’ve downloaded the alternate loadcsv.py fix.

I’m trying to load a small CSV file with this content:

sample, population, founder, sex
4859,BGI:RBLS,true,N
4860,BGI:RBLS,true,N
4861,BGI:RBLS,true,N
4862,BGI:RBLS,true,N

loadcsv.py produces this error:

ERROR

Load failed.
UserException in file: src/query/ops/input/InputArray.cpp function: end line: 196
Error id: scidb::SCIDB_SE_IMPORT_ERROR::SCIDB_LE_FILE_IMPORT_FAILED
Error description: Import error. Import from file ‘chicken_9031.asn.step_4.samples.i3yIFH.dlf’ (instance 0) to array ‘GTYP00005_1_1_samples’ failed at line 3, column 15, offset 44, value=‘BGI:RBLS’: Number of errors exceeds threshold.
##############################

If the dlf file is generated and saved, instead of using a FIFO, its content appears malformed:

{0}[
("4859,BGI:RBLS,true,N,
("4860,BGI:RBLS,true,N,
("4861,BGI:RBLS,true,N,
("4862,BGI:RBLS,true,N
];

The same data loaded under 14.3. Could there be a problem in the code generating the dlf output?


#2

The resolution of this issue has been posted here:

http://www.scidb.org/forum/viewtopic.php?f=19&t=1411&e=0