edf2csv 0.5.64 → 0.5.65

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@
3
3
  Notable changes to edf2csv. Versions follow [semantic versioning](https://semver.org); while the
4
4
  major version is 0, a minor bump may contain breaking changes.
5
5
 
6
+ ## 0.5.65
7
+
8
+ ### Fixed: a file error was listed among the usage errors, on the page a script reads to tell them apart
9
+
10
+ The usage-errors table opens by explaining why the distinction exists: "They exit **2** rather
11
+ than 1, so a script can tell 'you asked for something impossible' apart from 'this recording is
12
+ broken'." Its third row was "The recording changed size while it was being read", which exits 1.
13
+
14
+ That message comes from `changedWhileReading` in the parser, as an `EdfError` with code
15
+ `UNREADABLE`, and the same page's `UNREADABLE` section describes the same case and gives the
16
+ right code. One page, two answers, about the one thing a script branches on. Reproduced by
17
+ shrinking a sparse 262 MB recording mid-conversion: exit 1, every time.
18
+
19
+ The row is gone — the case was already documented where it belongs — and the section now says
20
+ so, since a reader who built a branch on the old table needs to know which way it was wrong.
21
+
22
+ A test holds the classification rather than the row. A usage error is raised by the CLI or the
23
+ planner and never by the parser, so no example message in that table may be a string `src/edf`
24
+ produces; the check matches on the longest run of plain words in each example, since every one
25
+ of them carries interpolated byte counts and record numbers that no source string contains.
26
+
6
27
  ## 0.5.64
7
28
 
8
29
  ### Fixed: a leading `./` decided whether a batch ran at all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.5.64",
3
+ "version": "0.5.65",
4
4
  "description": "Convert EDF, EDF+ and BDF biosignal recordings (European Data Format) to CSV from the command line. Local, streaming, and never resamples or alters units.",
5
5
  "keywords": [
6
6
  "edf",