edf2csv 0.9.17 → 0.9.19
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 +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/convert/run.d.ts +10 -1
- package/dist/convert/run.js +78 -16
- package/dist/convert/run.js.map +1 -1
- package/dist/edf/reader.js +43 -12
- package/dist/edf/reader.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -18,7 +18,7 @@ import process from 'node:process';
|
|
|
18
18
|
import { EdfError } from './edf/errors.js';
|
|
19
19
|
import { EdfFile } from './edf/reader.js';
|
|
20
20
|
import { buildPlan, withoutFileRateWarning } from './convert/plan.js';
|
|
21
|
-
import { ConversionError, USAGE_ERROR_CODES, auditStdout, convert, defaultOutputDir, describeFsError, descriptionDiagnostics, emptyAnnotations, withSidecarsNamed, withSignalTableUnwritten, durationDiagnostics, requestedAnnotationWindow, noAnnotations, noSignalFile, stdoutRefusal, } from './convert/run.js';
|
|
21
|
+
import { convertedChannels, ConversionError, USAGE_ERROR_CODES, auditStdout, convert, defaultOutputDir, describeFsError, descriptionDiagnostics, emptyAnnotations, withSidecarsNamed, withSignalTableUnwritten, durationDiagnostics, requestedAnnotationWindow, noAnnotations, noSignalFile, stdoutRefusal, } from './convert/run.js';
|
|
22
22
|
import { ChannelSelectionError } from './convert/channels.js';
|
|
23
23
|
// Shared with the library so a bad option is the same error whichever way it arrived.
|
|
24
24
|
import { MAX_DECIMALS, OptionError } from './convert/options.js';
|
|
@@ -1078,7 +1078,7 @@ async function showInfo(input, shared, asJson, jsonIndent, batch = false, toStdo
|
|
|
1078
1078
|
const diagnostics = withSidecarsNamed(withSignalTableUnwritten([
|
|
1079
1079
|
...withTimingPromiseKept(withoutFileRateWarning(file.diagnostics), timing.starts !== null),
|
|
1080
1080
|
...plan.diagnostics,
|
|
1081
|
-
], plan.writeSignals, plan.gzip), { toStdout, gzip: plan.gzip });
|
|
1081
|
+
], plan.writeSignals, plan.gzip, convertedChannels(plan)), { toStdout, gzip: plan.gzip });
|
|
1082
1082
|
if (!asJson && diagnostics.length > 0) {
|
|
1083
1083
|
/*
|
|
1084
1084
|
Named when there is more than one recording to confuse it with.
|