edf2csv 0.7.79 → 0.7.81
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.
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/edf/header.js +16 -1
- package/dist/edf/header.js.map +1 -1
- package/dist/edf/reader.d.ts +20 -0
- package/dist/edf/reader.js +27 -7
- package/dist/edf/reader.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -794,9 +794,12 @@ async function showInfo(input, shared, asJson, jsonIndent, batch = false, toStdo
|
|
|
794
794
|
: {
|
|
795
795
|
annotations: [],
|
|
796
796
|
recordStarts: scan ? [scan.origin] : [],
|
|
797
|
-
malformed: 0,
|
|
797
|
+
malformed: scan?.malformed ?? 0,
|
|
798
798
|
// Counted rather than assumed: see EdfFile.scanOrigin.
|
|
799
799
|
malformedTimekeeping: scan?.malformedTimekeeping ?? 0,
|
|
800
|
+
// And how many of those took events with them, which decides whether the warning
|
|
801
|
+
// beside it says nothing was lost. See EdfFile.scanOrigin.
|
|
802
|
+
malformedTimekeepingWithText: scan?.malformedTimekeepingWithText ?? 0,
|
|
800
803
|
};
|
|
801
804
|
const timing = deriveRecordStarts(file, annotationData);
|
|
802
805
|
const plan = buildPlan({
|