Skip to content

feat: JSON-to-CSV - improve list parsing to better support datacubes - #1124

Merged
nathan-stender merged 2 commits into
mainfrom
nstender-json-mapper-handle-lists
Nov 19, 2025
Merged

feat: JSON-to-CSV - improve list parsing to better support datacubes#1124
nathan-stender merged 2 commits into
mainfrom
nstender-json-mapper-handle-lists

Conversation

@nathan-stender

Copy link
Copy Markdown
Collaborator

Currently, when two elements are not in the same root, we always cross the parsed datasets.

ASM datacubes store the x/y dimensions in lists in separate paths, which means they get crossed, so that for:

data : {
  dimensions: [[1,2]],
  measures: [[0.25, 0.5] 
}

you get

1,0.25
1,0.5
2,0.25
2,0.5

Now, we detect if all parsed datasets being combined have the same length, and if so, just concat them.

This gets us the expected result:

1,0.25
2,0.5

for datacube extraction, while still crossing with downstream nested values

@nathan-stender
nathan-stender merged commit bf7a436 into main Nov 19, 2025
7 checks passed
@nathan-stender
nathan-stender deleted the nstender-json-mapper-handle-lists branch November 19, 2025 17:56
nathan-stender added a commit that referenced this pull request Nov 19, 2025
### Added

- JSON-to-CSV - improve list parsing to better support datacubes (#1124)
- Cytiva Biacore T200 control - add unread data (#1120)
- Qiacuity dPCR - Added unread data (#1103)
- Migrate biorad_bioplex_manager to use SeriesData.get_unread (#1100)
- Mass spectrometer ASM schema (#1121)
- Roche Cedex BioHT - Add support for mM unit (mmol/L) (#1119)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants