edf2csv 0.5.124 → 0.5.125

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 +31 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
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.125
7
+
8
+ ### Fixed: the FAQ's --json example was another recording's summary, warnings included
9
+
10
+ "How do I check whether a conversion had problems from a script?" runs `--json` on
11
+ `sleep-study.edf` and showed:
12
+
13
+ ```json
14
+ {
15
+ "files": [
16
+ { "name": "signals.csv", "rows": 921600 },
17
+ { "name": "annotations.csv", "rows": 3 },
18
+ { "name": "channels.csv", "rows": 1 }
19
+ ],
20
+ "annotations": 3,
21
+ "duration_seconds": 3600,
22
+ "records": 3600,
23
+ "warnings": []
24
+ }
25
+ ```
26
+
27
+ Every figure belongs to some other file. That recording is eight hours of five channels at
28
+ three rates: three signals files, seven events, five channel rows, 28,800 records. And it
29
+ raises two warnings — the paragraph directly below promises they will be in that array, and
30
+ the same page prints one of them, five answers earlier, about this same file. Someone comparing
31
+ their own output against this block would conclude their conversion had gone wrong.
32
+
33
+ The block is now what that command writes, `warnings` included, and a test converts the
34
+ recording and holds every `--json` block on the site to it. `elapsed_ms` and `output_dir`
35
+ belong to the run rather than to the recording and stay illustrative.
36
+
6
37
  ## 0.5.124
7
38
 
8
39
  ### Fixed: a stray space meant four things depending on which option carried it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.5.124",
3
+ "version": "0.5.125",
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",