edf2csv 0.5.13 → 0.5.14

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 +23 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
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.14
7
+
8
+ ### Fixed: "Nothing is written" was true of every error in that section but one
9
+
10
+ warnings-and-errors.md opens its fatal-read section with "These stop the conversion. Nothing
11
+ is written. All of them exit 1." That holds for all of them except the one described at the
12
+ end of the same section: a recording that shrinks *during* the conversion, because the
13
+ amplifier is still writing it or something is replacing it underneath.
14
+
15
+ By then rows are on disk. A 2.88-million-row conversion cut short at record 24,600 leaves
16
+ 2,451,013 of them in a `signals.csv` that ends on a row boundary and opens exactly like a
17
+ finished one. Nothing about the file reveals which it is — which is the whole reason to say
18
+ so, and the section said the opposite.
19
+
20
+ The tool itself was already right: the message ends "What was written to "out" before it
21
+ failed is incomplete and should not be used." I had added a second line saying the same
22
+ thing before checking, and took it out again. The page is what needed fixing.
23
+
24
+ A test holds it, and holds it honestly: truncating the recording *before* the run proves
25
+ nothing, since the header read notices, warns, and converts the records that are there. It
26
+ has to shrink while being read, so the test cuts it from inside `onProgress` — and asserts
27
+ the cut actually happened, so it cannot quietly stop testing anything.
28
+
6
29
  ## 0.5.13
7
30
 
8
31
  ### Fixed: the test suite reached for a website dependency, and every publish since 0.5.1 failed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.5.13",
3
+ "version": "0.5.14",
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",