Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
bcefced
Raw-v1 reading helpers, a per-class raw switch, and the round trip; s…
claude Oct 26, 2026
8cfac05
Merge remote-tracking branch 'origin/claude/phase1' into claude/phase2
claude Oct 26, 2026
c3802a6
Merge origin/claude/phase1 into claude/phase2
claude Oct 26, 2026
b18a5c1
Treatment family reads raw v1; per-class round trips with known findings
claude Oct 27, 2026
cda1299
Merge origin/claude/phase1 into claude/phase2
claude Oct 27, 2026
1f8110f
Round-trip tests: a mixture table rebuilt as written matches; print a…
claude Oct 27, 2026
15a87ee
Legacy-identity test maps the minted ids across (a base-less document…
claude Oct 27, 2026
467d36e
A document with no base block mints deterministic ids (mintKey)
claude Oct 27, 2026
082922e
Element reads raw v1: name | reference, decided entity types, depende…
claude Oct 27, 2026
91082c3
Dependents of a carry: not of a document handed to NDI's second pass;…
claude Oct 27, 2026
afb76d4
Divergence table: NDI's carryRowOf is a reason-to-row helper, not a pass
claude Oct 27, 2026
d00e9c6
Merge origin/claude/phase1 into claude/phase2
claude Oct 27, 2026
3efea7d
element_epoch reads raw v1; round trip of its pass-1 carrier
claude Oct 27, 2026
548723d
element_epoch carrier names its superclasses by class_name
claude Oct 27, 2026
16aa7a7
Merge origin/V2 into claude/phase2
claude Oct 27, 2026
c2869ab
Stimulus-response family reads raw v1; round trips of both classes
claude Oct 27, 2026
182b66c
Tuning family reads raw v1; per-class round trips on the writers' own…
claude Oct 27, 2026
3e63cef
Merge claude/phase2-srs: stimulus-response family reads raw v1
claude Oct 27, 2026
53e0714
imageStack reads raw v1; round trips of the Haley and Babu writer shapes
claude Oct 27, 2026
5dab317
Ingested-epoch / sync family reads raw v1; round trips of all four cl…
claude Oct 27, 2026
c6bdec4
testRawV1RoundTripImage: a value range round trips matched or equivalent
claude Oct 27, 2026
69a7a2a
Merge origin/claude/phase2 (ingested-epoch family) into claude/phase2…
claude Oct 27, 2026
0d8d0cf
Acquisition-system family reads raw v1; round trips of all eight classes
claude Oct 27, 2026
ee1b509
Spike-sorting / calculation family reads raw v1; round trips on the w…
claude Oct 27, 2026
11a0828
testRawV1RoundTripDaq: the depends_on version case keeps one struct a…
claude Oct 27, 2026
e4c77e4
Merge origin/claude/phase2 (spike-sorting family) into claude/phase2-daq
claude Oct 27, 2026
1081866
Bath and position-metadata family reads raw v1; round trips on the wr…
claude Oct 27, 2026
25388d3
testBatchPassWiring: a divergence row for NDI's isOntologyLabelClass
claude Oct 27, 2026
4ffa9fc
Switch ontologyLabel to raw v1; one passthrough record per carried so…
claude Oct 27, 2026
66ca234
testBatchPassWiring: a divergence row for ndi.migrate.internal.isOnto…
claude Oct 27, 2026
aa34109
Two unit tests parse again: remove stray end/duplicate lines
claude Oct 27, 2026
f4efbe3
Session / dataset / presentation family reads raw v1; round trips on …
claude Oct 27, 2026
b47abf3
Merge origin/claude/phase2 (aa34109f, bath/position family) into clau…
claude Oct 27, 2026
07b29c0
The two re-included tests run: registry labels, no fixture arguments …
claude Oct 27, 2026
a947ed5
Merge remote-tracking branch 'origin/claude/phase2' into claude/phase…
claude Oct 27, 2026
7cda60b
Merge origin/claude/phase2 (07b29c0f) into claude/phase2-label
claude Oct 27, 2026
aa0b5dc
Session family: an off-template field carries under carry-100
claude Oct 27, 2026
b7294ca
testRawV1RoundTripDaq: the Dabrowska probe location's label is a know…
claude Oct 27, 2026
7eddbe7
testSchemaCacheMemo, testSqliteDbReconnect: no arguments block on tea…
claude Oct 27, 2026
3db719c
Merge remote-tracking branch 'origin/claude/phase2' into claude/phase…
claude Oct 27, 2026
a981c52
Probe family reads raw v1; round trips on the writers' output
claude Oct 27, 2026
e126fc9
Spike-sorting parameters family reads raw v1; round trips on the writ…
claude Oct 27, 2026
3d1faec
Merge origin/claude/phase2 (3db719c0) into claude/phase2-label
claude Oct 27, 2026
bda3ddc
Merge remote-tracking branch 'origin/claude/phase2' into claude/phase…
claude Oct 27, 2026
b4ea43f
rawV1Classes: resolve the header the last merge left conflicted
claude Oct 27, 2026
d76651e
Raw-v1 carries of an unread field cite carry-100
claude Oct 27, 2026
5ba4790
Ingested-epoch and vm passthroughs read raw v1
claude Oct 27, 2026
390a8ff
Round-trip inverses read a registered label in any case
claude Oct 27, 2026
d927e75
Spatial-transcriptomics family reads raw v1
claude Oct 27, 2026
db35780
Measurement family reads raw v1; round trips on the writers' output
claude Oct 27, 2026
14715fc
The NDI apps' tuning results read raw v1
claude Oct 27, 2026
aeac1b7
Demo classes and binaryseries_parameters read raw v1
claude Oct 27, 2026
c7f4a1b
Merge remote-tracking branch 'origin/claude/phase2' into claude/phase…
claude Oct 27, 2026
dfd4a13
oneepoch reads raw v1
claude Oct 27, 2026
d5f17f5
testMigratorsJMeasurementFilter: the measurement fixture spells ontol…
claude Oct 27, 2026
0fc0a98
foldGenericFiles declares both label spellings it reads
claude Oct 27, 2026
1315f44
ontologyImage reads raw v1
claude Oct 27, 2026
36e083d
Demo tests follow the raw read of demoNDI
claude Oct 27, 2026
213af27
Delete the +migrators base migrators nothing reaches: element, ontolo…
claude Oct 27, 2026
2599d51
Merge origin/claude/phase2 (0fc0a98f) into claude/phase2-rest
claude Oct 27, 2026
fc6752e
Merge V2 (#252: did_v2 file names) into claude/phase2
claude Oct 27, 2026
b386a2f
Fix Code Analyzer findings on PR #253
claude Oct 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 22 additions & 38 deletions src/did/+did2/+convert/+migrators/Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
% treatment - collapse (ontologyName | ontology_name,
% name) -> treatment_name; pass through
% numeric_value and string_value.
% ontology_image - collapse (ontology_name, ontology_region)
% -> region.
% ontology_label - collapse (ontology_name, label_id, label)
% -> term, with the CURIE composed from the
% first two.
% epochclocktimes - SUPERCLASS migrator; rename clocktype ->
% epoch_clock and split t0_t1 -> (t0, t1).
% Applied by the dispatcher to any document
Expand All @@ -40,41 +35,30 @@
% Applied to any document that lists ngrid
% in its superclass chain (e.g., hartley_calc
% via reverse_correlation).
% ontology_label - extended to handle the JH single-`ontologyNode`
% idiom (no label/label_id). Looks up the
% name via ndi.ontology.lookup; falls back to
% empty name when the lookup is unavailable.
% position_metadata - semantic-shape migrator: builds
% measurement (ontology_term), units
% (ontology_term), and dimensions
% (array-of-records with axis_1, axis_2 labels)
% from v1 ontologyNode/units/dimensions.
% distance_metadata - paired A/B endpoint migrator: discovers
% labels by regex-scanning ontology_node_X
% keys and builds an endpoints array-of-records
% with measurement, integer_ids, string_ids,
% numeric_values per endpoint.
% stimulus_bath - rename location.ontologyNode -> .node;
% parse the v1 CSV mixture_table into a
% mixture array-of-records; each amount is a
% V2 `concentration` composite with
% source_unit / source_value preserved and
% the appropriate canonical sub-field (molar,
% grams_per_liter, mass_fraction,
% volume_fraction) populated when computable.
%
% Calculator-base wrappers (20211116-driven):
% each calls did2.convert.calcCommon to move v1's
% `<class>.input_parameters` into a new inherited `calculator` block.
% The calculator-identity string lives in `app.app_name` (carried in
% v1 as `app.name`) and is handled by the universal app-block field
% rename in did2.convert.universalRenames; the per-class wrapper does
% not have to know its own calculator-name string.
% The calculator-base wrappers are all deleted, with their shared helper
% calcCommon: the tuning family's (tuningcurve_calc, oridirtuning_calc,
% contrast_sensitivity_calc, contrast_tuning_calc,
% spatial_frequency_tuning_calc, temporal_frequency_tuning_calc) and then
% hartley_calc, speed_tuning_calc and simple_calc, with jrclust_clusters'
% rename. Each class has a +migrators_j migrator, so the wrapper was never
% reached; the classes read raw v1 (did2.convert.rawV1Classes; simple_calc
% is not switched, see there; [early migration pieces fixed] (1), Jess
% Haley, 2026-10-26).
%
% tuningcurve_calc, oridirtuning_calc, hartley_calc,
% contrast_sensitivity_calc, contrast_tuning_calc,
% spatial_frequency_tuning_calc, speed_tuning_calc,
% temporal_frequency_tuning_calc, simple_calc
% The position_metadata, distance_metadata and stimulus_bath base migrators
% are deleted too: each class has a +migrators_j migrator, which reads raw v1
% (distance_metadata's reshapes the v1 spelling itself, where it used to hand
% the renamed body to the base migrator).
%
% The element, ontology_image and ontology_label base migrators are deleted
% (2026-10-27): each class has a +migrators_j migrator that reads raw v1, and
% no NDI template at the locked main names element, ontologyImage or
% ontologyLabel as a superclass, so nothing reached them. element_epoch stays
% (+migrators_j/element_epoch.m and oneepoch.m call it on the raw block);
% epochclocktimes and filter stay for pyraview (not switched); ngrid stays as
% the concrete migrator of a leaf `ngrid` document (+migrators_j has only
% the +super guard); identity stays as v1_to_v2's fallback.
%
% See did-schema's
% did-schema's per-class conversion notes (deleted with did-schema #88) for the
Expand Down
16 changes: 0 additions & 16 deletions src/did/+did2/+convert/+migrators/contrast_sensitivity_calc.m

This file was deleted.

16 changes: 0 additions & 16 deletions src/did/+did2/+convert/+migrators/contrast_tuning_calc.m

This file was deleted.

158 changes: 0 additions & 158 deletions src/did/+did2/+convert/+migrators/distance_metadata.m

This file was deleted.

57 changes: 0 additions & 57 deletions src/did/+did2/+convert/+migrators/element.m

This file was deleted.

16 changes: 0 additions & 16 deletions src/did/+did2/+convert/+migrators/hartley_calc.m

This file was deleted.

25 changes: 0 additions & 25 deletions src/did/+did2/+convert/+migrators/jrclust_clusters.m

This file was deleted.

Loading
Loading