Fix some minor line/column numbering issues
This commit is contained in:
parent
f4145bacd2
commit
7230f982ac
@ -179,7 +179,7 @@ public class SaneTsv
|
||||
{
|
||||
if (format == FormatType.SIMPLE_TSV)
|
||||
{
|
||||
throw new Exception($"Header {fields.Count} contain ':', which is not allowed for column names");
|
||||
throw new Exception($"Header {j} contains ':', which is not allowed for column names");
|
||||
}
|
||||
columnTypeString = columnString.Split(":").Last();
|
||||
columnName = columnString.Substring(0, columnString.Length - columnTypeString.Length - 1);
|
||||
@ -939,7 +939,7 @@ public class SaneTsv
|
||||
var fields = new List<byte[]>();
|
||||
var records = new List<string[]>();
|
||||
|
||||
int line = 1;
|
||||
int line = 2;
|
||||
int currentLineStart = 0;
|
||||
|
||||
// Go back to the start of the current line
|
||||
|
Loading…
Reference in New Issue
Block a user