edf2csv 0.8.53 → 0.8.54
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 -4
- package/dist/cli.js.map +1 -1
- package/dist/convert/run.d.ts +4 -1
- package/dist/convert/run.js +45 -11
- package/dist/convert/run.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,
|
|
21
|
+
import { ConversionError, USAGE_ERROR_CODES, auditStdout, convert, defaultOutputDir, describeFsError, descriptionDiagnostics, emptyAnnotations, withSidecarsNamed, 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';
|
|
@@ -1047,11 +1047,11 @@ async function showInfo(input, shared, asJson, jsonIndent, batch = false, toStdo
|
|
|
1047
1047
|
// Under --json the warnings travel inside the document, exactly as they do for a
|
|
1048
1048
|
// conversion, so stderr stays empty and the whole result is one parseable thing.
|
|
1049
1049
|
// `--stdout` writes no sidecars, and `--info --stdout` describes that run; see
|
|
1050
|
-
//
|
|
1051
|
-
const diagnostics =
|
|
1050
|
+
// withSidecarsNamed.
|
|
1051
|
+
const diagnostics = withSidecarsNamed([
|
|
1052
1052
|
...withTimingPromiseKept(withoutFileRateWarning(file.diagnostics), timing.starts !== null),
|
|
1053
1053
|
...plan.diagnostics,
|
|
1054
|
-
], toStdout);
|
|
1054
|
+
], { toStdout, gzip: plan.gzip });
|
|
1055
1055
|
if (!asJson && diagnostics.length > 0) {
|
|
1056
1056
|
/*
|
|
1057
1057
|
Named when there is more than one recording to confuse it with.
|