@rasifix/orienteering-utils 2.0.60 → 2.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,7 @@ var PicoeventsFormat = /** @class */ (function () {
|
|
|
29
29
|
};
|
|
30
30
|
var header = lines.splice(0, 1)[0].split(",");
|
|
31
31
|
var sortKeyIdx = header.indexOf("[SORTKEY]");
|
|
32
|
-
var statusIdx = header.indexOf("[
|
|
32
|
+
var statusIdx = header.indexOf("[RESPERSIDX]");
|
|
33
33
|
var startTimeIdx = header.indexOf("[STARTFULLPREC]");
|
|
34
34
|
var noOfSplitsIdx = header.indexOf("[NOFSPLITS]");
|
|
35
35
|
var termIdx = header.indexOf("[TERM]");
|
|
@@ -61,7 +61,8 @@ var PicoeventsFormat = /** @class */ (function () {
|
|
|
61
61
|
result.categories.push(category);
|
|
62
62
|
}
|
|
63
63
|
var status = tokens[statusIdx];
|
|
64
|
-
|
|
64
|
+
console.log("Parsing runner ".concat(idx + 1, ": ").concat(tokens[firstNameIdx], " ").concat(tokens[familyNameIdx], " with status ").concat(status, " in category ").concat(name));
|
|
65
|
+
if (status !== "5" && status !== "2") {
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
68
|
var startTime = parseInt(tokens[startTimeIdx]);
|