edfcore 0.6.35 → 0.6.36
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 +27 -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.6.
|
|
112
|
+
export declare const VERSION = "0.6.36";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,33 @@ 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.6.36
|
|
10
|
+
|
|
11
|
+
- **Added** a seventeenth shape to the `AWKWARD` matrix: records that overlap in time, where a
|
|
12
|
+
record starts before the one before it ended and two records claim the same instant. edfcore has
|
|
13
|
+
always known about them — the gap list carries one with a negative duration (0.2.69),
|
|
14
|
+
`mergeChunks` refuses the join, `edfcore gaps` prints it in its own column, and the probe raises
|
|
15
|
+
`RECORD_ONSET_SPACING_VIOLATION`, a warning rather than an error because an overlapping file is
|
|
16
|
+
still readable.
|
|
17
|
+
- **Fixed** four sweeps that were asserting things true only of files whose records do not overlap,
|
|
18
|
+
which nothing had ever supplied:
|
|
19
|
+
- `header-helpers-agree` said the sum of the record durations never exceeds the span. It exceeds
|
|
20
|
+
it by exactly the overlap, because an overlap counts an instant twice.
|
|
21
|
+
- `timeline-helpers-agree` said an instant inside a segment is answered with THAT segment, and
|
|
22
|
+
that a gap's midpoint is in no segment. Two segments contain an overlapped instant, and an
|
|
23
|
+
overlap's interval runs backwards, so its midpoint is inside a segment rather than in a hole.
|
|
24
|
+
- `reading-helpers-agree` said a window at a sample's start begins at that sample's record, and
|
|
25
|
+
that a window's chunks join. Neither holds here — and the second was the half of its own
|
|
26
|
+
comment the code had never run: "either join or are refused with a reason" had only ever seen
|
|
27
|
+
joining.
|
|
28
|
+
- None of the four was a defect in `src/`. The library refuses the unindexed read with a message in
|
|
29
|
+
the file's own numbers ("records covering 6 s are packed into a 3.5 s span"), returns both
|
|
30
|
+
covering records in separate chunks once it has an index, and refuses to concatenate them. Each
|
|
31
|
+
sweep now states the weaker thing true of every file and the stronger thing true of this one,
|
|
32
|
+
rather than exempting the shape.
|
|
33
|
+
- That is what a matrix is for: the claims were not wrong because anyone was careless, they were
|
|
34
|
+
claims with no counterexample.
|
|
35
|
+
|
|
9
36
|
## 0.6.35
|
|
10
37
|
|
|
11
38
|
- **Added** the census that closes the class four releases in a row have been fixing. A sample rate
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED