edf2csv 0.8.54 → 0.8.56

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 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, durationDiagnostics, requestedAnnotationWindow, noAnnotations, noSignalFile, stdoutRefusal, } from './convert/run.js';
21
+ import { 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';
@@ -1048,10 +1048,10 @@ async function showInfo(input, shared, asJson, jsonIndent, batch = false, toStdo
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
1050
  // withSidecarsNamed.
1051
- const diagnostics = withSidecarsNamed([
1051
+ const diagnostics = withSignalTableUnwritten(withSidecarsNamed([
1052
1052
  ...withTimingPromiseKept(withoutFileRateWarning(file.diagnostics), timing.starts !== null),
1053
1053
  ...plan.diagnostics,
1054
- ], { toStdout, gzip: plan.gzip });
1054
+ ], { toStdout, gzip: plan.gzip }), plan.writeSignals);
1055
1055
  if (!asJson && diagnostics.length > 0) {
1056
1056
  /*
1057
1057
  Named when there is more than one recording to confuse it with.