From 96c45216c02920fc3570bfbe0e59b30e91cbab51 Mon Sep 17 00:00:00 2001 From: Franco Pestilli Date: Thu, 26 Nov 2026 15:07:03 -0600 Subject: [PATCH] Tables page; what an OpenNeuro import brings --- docs/user/datasets.md | 13 ++++++-- docs/user/tables.md | 75 +++++++++++++++++++++++++++++++++++++++++++ mkdocs.yml | 1 + 3 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 docs/user/tables.md diff --git a/docs/user/datasets.md b/docs/user/datasets.md index 7240a55c..717e7a03 100644 --- a/docs/user/datasets.md +++ b/docs/user/datasets.md @@ -1,7 +1,7 @@ # Datasets -Brainlife uses DataLad to provide seamless access to dataset published on OpenNeuro.org as well as on other open datasets. -Datasets mapped by DataLad can searched and imported directly from within the Brainlife interface. +Brainlife provides seamless access to datasets published on OpenNeuro.org as well as on other open datasets. +These datasets can be searched and imported directly from within the Brainlife interface. Head over to the [Datasets Page](https://brainlife.io/datasets) or click on the Datasets Tab. ![Dataset Tab](../img/dataset-tab.png) @@ -16,3 +16,12 @@ Click Ok to import the dataset. ![datasets import into project](../img/datasets-import-project.png) Datasets can be imported either in a new Brainlife Project or into an existing project. + +## What comes with an imported dataset + +Besides the data objects of the datatypes you pick, an import brings the dataset's tables into the project: + +- **`participants.tsv`** (and `participants.json`) is merged into the project's participants table. New subjects and new columns are added; values already in the project are kept, so your own edits are never overwritten. +- **Other BIDS tables** (`phenotype/*.tsv`, `samples.tsv`, and the sessions and scans tables) are copied into the project as [project tables](tables.md), each row linked to its subject and session. Rows of a scans table are also linked to the imported data object that holds their file. + +The tables are read from OpenNeuro through the [OpenNeuro API](https://openneuro.org/crn/graphql), for the dataset version you import. Importing the same dataset again replaces the tables that came from it; tables you uploaded yourself are kept. diff --git a/docs/user/tables.md b/docs/user/tables.md new file mode 100644 index 00000000..258e6b57 --- /dev/null +++ b/docs/user/tables.md @@ -0,0 +1,75 @@ +# Tables + +A project holds tables next to its data objects. They describe the project's subjects, sessions and files: + +| Table | From | +| --- | --- | +| `participants` | `participants.tsv` / `participants.json` (one row per subject) | +| `phenotype/` | BIDS `phenotype/.tsv` (questionnaires, assessments, ...) | +| `samples` | BIDS `samples.tsv` | +| `sessions` | every subject's `sub-