edf2csv 0.5.109 → 0.5.111

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 +53 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,59 @@
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.111
7
+
8
+ ### Fixed: a directory called `undefined` has been in the repository since 0.5.30
9
+
10
+ 0.5.30 fixed `npm pack` shipping a tarball with no code in it. The same commit also added ten
11
+ files under `undefined/` — the output of two conversions whose `--out` had been built from a
12
+ shell variable that was never set, swept up by a `git add -A` along with the real change.
13
+
14
+ It has been tracked ever since. `files` limits the tarball to `dist`, the README, the licence and
15
+ this file, so nobody installing from npm was ever given it; anyone cloning the repository, or
16
+ installing from a git URL, got 84 KB of somebody else's converted sleep study.
17
+
18
+ Removed from the tree. A test now holds the list of top-level entries the repository tracks, so
19
+ the next one has to be added to that list on purpose rather than arriving with a batch of edits.
20
+ It skips itself outside a git checkout, since running the suite from an extracted tarball is a
21
+ reasonable thing to do.
22
+
23
+ `deleted/` is added to `.gitignore` alongside it.
24
+
25
+ ## 0.5.110
26
+
27
+ ### Fixed: the reference said there was one way a long file comes out unsorted, and quoted it wrong
28
+
29
+ `--layout long` writes one row per sample, sorted by `time_s` — because records are written in
30
+ file order and each record's samples fall inside its own span. The reference named "one exception
31
+ the format allows and the tool warns about". There are two, and the tool warns about both.
32
+
33
+ The first is the obvious one: a discontinuous recording may store its records in a different order
34
+ than it times them. The second is overlap. Records of one second at 0 s and 0.25 s have strictly
35
+ increasing starts, so nothing fires for order, and the column comes out `0.000, 0.500, 0.250,
36
+ 0.750` anyway, because the first record's samples run past where the second begins. That case has
37
+ had its own warning since 0.5.25 and its own entry in warnings-and-errors; the page that describes
38
+ the layout's ordering didn't mention it.
39
+
40
+ Both are now described where the guarantee is stated, with the arithmetic for the overlapping one.
41
+
42
+ ### Fixed: two quoted warnings that no version prints
43
+
44
+ 0.5.107 made these two sentences agree with the number they count. The documentation kept the
45
+ sentences from before it:
46
+
47
+ ```
48
+ warning: 2 data records start earlier than the record before it. (the reference)
49
+ warning: 1 data record start earlier than the record before it. (warnings-and-errors)
50
+ ```
51
+
52
+ One wrong pronoun and one wrong verb, and between them every count a reader might search their
53
+ logs for.
54
+
55
+ A test now generates all four of these sentences — both kinds, singular and plural — from files
56
+ built for the purpose, and holds every quoted `warning:` line in the documentation that counts
57
+ data records to the set.
58
+
6
59
  ## 0.5.109
7
60
 
8
61
  ### 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.111",
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",