@robmaz reported in https://github.com/magicDGS/ReadTools/issues/509 a bug that was just a malformed barcode file, where a column was separated by two-tabs instead of just one. The error message was the scary UNEXPECTED ERROR: null, that is difficult to debug and not informative at all.
While loading the dictionary, the reading code should check that there is no "empty" header, which can mess up completely the file without realizing. Still, we need to support empty fields in the rows, because it might be necessary for #512.
@robmaz reported in https://github.com/magicDGS/ReadTools/issues/509 a bug that was just a malformed barcode file, where a column was separated by two-tabs instead of just one. The error message was the scary
UNEXPECTED ERROR: null
, that is difficult to debug and not informative at all.While loading the dictionary, the reading code should check that there is no "empty" header, which can mess up completely the file without realizing. Still, we need to support empty fields in the rows, because it might be necessary for #512.