edfcore 0.5.32 → 0.5.33
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.
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +26 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.5.
|
|
112
|
+
export declare const VERSION = "0.5.33";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,32 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.5.33
|
|
10
|
+
|
|
11
|
+
- **Added** an overlap driven through every surface that could call it a gap. This is the defect the
|
|
12
|
+
changelog has fixed four times. An overlap travels in `index.gaps` with a NEGATIVE duration —
|
|
13
|
+
0.2.69 decided that and `api-reading.md` documents it — so every consumer of that array has to
|
|
14
|
+
branch on the sign, and each one that did not printed "a gap of -0.2 s": a gap of negative
|
|
15
|
+
duration, with an explanation that inverts what an overlap does. Across a gap two samples are
|
|
16
|
+
seconds apart; across an overlap they cover the same time, so concatenating duplicates it rather
|
|
17
|
+
than skipping it.
|
|
18
|
+
- 0.3.3 partitioned `edfcore gaps`. 0.3.33 applied the rule to "the two places that still said it
|
|
19
|
+
was". 0.3.41 found a third in `src/chunks.ts`, which mentioned an overlap nowhere. 0.3.59 found a
|
|
20
|
+
fourth forty lines below the third, on the branch a probed index actually reaches. Every fix was
|
|
21
|
+
local, and no test treated it as one rule over one file.
|
|
22
|
+
- One overlapping recording now goes through all of them — both `mergeChunks` branches, the
|
|
23
|
+
validation report on an EDF+D and on an EDF+C that claims to be continuous, the CLI's summary line
|
|
24
|
+
and its tab-separated row, and the record probes at open — and each is asserted to use the word
|
|
25
|
+
`overlap` and to present no negative magnitude as a duration. The second is what would have failed
|
|
26
|
+
all four times: `gap of -0.2 s` is what the defect looked like on screen, at every one of them.
|
|
27
|
+
- A blanket ban on the word "gap" would be wrong, and the test says so: the diagnostics correctly use
|
|
28
|
+
it in the rule they cite — "a discontinuous file may leave gaps between records but never overlaps
|
|
29
|
+
them" — which is the sentence that makes them understandable. The check is about how the observed
|
|
30
|
+
boundary is described, not about a vocabulary.
|
|
31
|
+
- The three modules that partition a gap's own duration by its sign are read out of `src/`, so a
|
|
32
|
+
fourth consumer fails here until it is driven. That is the part that stops this being a fifth
|
|
33
|
+
local fix.
|
|
34
|
+
|
|
9
35
|
## 0.5.32
|
|
10
36
|
|
|
11
37
|
- **Added** a lattice check over the ten microvolt values `quick-start.md` prints. That page prints
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED