edf2csv 0.5.109 → 0.5.110

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 +34 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,40 @@
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.110
7
+
8
+ ### Fixed: the reference said there was one way a long file comes out unsorted, and quoted it wrong
9
+
10
+ `--layout long` writes one row per sample, sorted by `time_s` — because records are written in
11
+ file order and each record's samples fall inside its own span. The reference named "one exception
12
+ the format allows and the tool warns about". There are two, and the tool warns about both.
13
+
14
+ The first is the obvious one: a discontinuous recording may store its records in a different order
15
+ than it times them. The second is overlap. Records of one second at 0 s and 0.25 s have strictly
16
+ increasing starts, so nothing fires for order, and the column comes out `0.000, 0.500, 0.250,
17
+ 0.750` anyway, because the first record's samples run past where the second begins. That case has
18
+ had its own warning since 0.5.25 and its own entry in warnings-and-errors; the page that describes
19
+ the layout's ordering didn't mention it.
20
+
21
+ Both are now described where the guarantee is stated, with the arithmetic for the overlapping one.
22
+
23
+ ### Fixed: two quoted warnings that no version prints
24
+
25
+ 0.5.107 made these two sentences agree with the number they count. The documentation kept the
26
+ sentences from before it:
27
+
28
+ ```
29
+ warning: 2 data records start earlier than the record before it. (the reference)
30
+ warning: 1 data record start earlier than the record before it. (warnings-and-errors)
31
+ ```
32
+
33
+ One wrong pronoun and one wrong verb, and between them every count a reader might search their
34
+ logs for.
35
+
36
+ A test now generates all four of these sentences — both kinds, singular and plural — from files
37
+ built for the purpose, and holds every quoted `warning:` line in the documentation that counts
38
+ data records to the set.
39
+
6
40
  ## 0.5.109
7
41
 
8
42
  ### Fixed: three pages still described an inverted channel by the rule that was corrected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.5.109",
3
+ "version": "0.5.110",
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",