omnipy.components.isa.flows
Flows for transforming ISA-JSON datasets into flattened tabular-like structures.
| FUNCTION | DESCRIPTION |
|---|---|
flatten_isa_json |
Flatten ISA-JSON documents into tabular-like records. |
flatten_isa_json
flatten_isa_json(dataset: IsaJsonDataset) -> FlattenedIsaJsonDataset
Flatten ISA-JSON documents into tabular-like records.
The flow converts each ISA document to an intermediate dictionary-of-dictionaries representation, transposes that structure into record lists, and then flattens nested keys into scalar columns.
| PARAMETER | DESCRIPTION |
|---|---|
dataset
|
Dataset with ISA-JSON documents to flatten.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
FlattenedIsaJsonDataset
|
A dataset containing flattened ISA records suitable for tabular workflows. |