Skip to content
Draft
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
2591e4d
Added first atlas examples
melanieganz Apr 30, 2024
e5cce1b
enh: remove old examples, add suit
oesteban Jun 17, 2025
7a1bbd1
Minimal dataset_description.json
effigies Jun 17, 2025
1a89ab2
chore(ci): Skip atlases on legacy/stable/main, use BEP schema for dev
effigies Jun 17, 2025
abe0b3b
Fix dataset_description.json
effigies Jun 17, 2025
77a3301
chore(ci): Deduplicate workflow triggers
effigies Jun 17, 2025
3e4b8eb
Mark atlas dataset as derivative
effigies Jun 17, 2025
61635f3
fix: Remove space in SampleSize
effigies Jun 17, 2025
ae3cd5a
fix: Add required T1w metadata
effigies Jun 17, 2025
4b30cef
Move atlas descriptions to dataset root
effigies Jun 17, 2025
6c2d80e
atlas as a derivative dataset
CPernet Aug 18, 2025
aea94b0
adding trc to name
CPernet Aug 18, 2025
8a28cda
Merge branch 'master' into bep038
effigies Sep 2, 2025
d584c41
univariate florbetapir
CPernet Oct 13, 2025
750a37a
dash not underscore
CPernet Oct 13, 2025
e463def
pet atlases use petmap suffix
CPernet Oct 13, 2025
a42ab5e
Add HOSPA atlas.
tsalo Oct 30, 2025
b64b593
Remove JSON without data file.
tsalo Oct 30, 2025
4ad7d45
Move atlas files into datatype folder.
tsalo Oct 30, 2025
4f05fbc
Add 4S atlas.
tsalo Oct 30, 2025
d9e1862
Fix typos flagged by codespell.
tsalo Oct 31, 2025
7ce1298
Address most 4S and HOSPA validation errors.
tsalo Oct 31, 2025
6d3e816
Fix typo.
tsalo Oct 31, 2025
93d34b6
Fix HOSPA entity ordering.
tsalo Oct 31, 2025
4ecfdfa
Fix HOSPA names again.
tsalo Oct 31, 2025
6b43dab
Add BEP038-compliant atlas examples
PeerHerholz Oct 31, 2025
dada75b
update examples and add new ones
PeerHerholz Oct 31, 2025
c8540be
Empty CIFTI files.
tsalo Nov 3, 2025
6125ea4
update atlas examples to fix validation errors
PeerHerholz Nov 3, 2025
b5b8e38
add SampleSize to HO, Juelich, Talairach
PeerHerholz Nov 3, 2025
cbf6888
Merge branch 'bep038' into add-atlas-examples-peer
effigies Nov 4, 2025
b9c3dbf
Remove probseg.tsv files.
tsalo Nov 4, 2025
47e55dd
Rename SUIT probsegs
effigies Sep 2, 2025
e9185a1
Add task entity to subject-level atlases.
tsalo Nov 4, 2025
c9e8129
Merge branch 'bep038' of https://github.com/bids-standard/bids-exampl…
tsalo Nov 4, 2025
d7d52a7
Merge remote-tracking branch 'upstream/master' into bep038
effigies Nov 4, 2025
2de4493
Remove SUIT GIFTIs
effigies Nov 4, 2025
0deba80
Remove ONP florbetapir atlases for now
effigies Nov 4, 2025
923e5bf
Populate dseg.tsvs
effigies Nov 4, 2025
ee1fed7
Merge branch 'bep038' into add-atlas-examples-peer
effigies Nov 4, 2025
506f7cd
Increase threshold for "big" files to 1MB.
tsalo Nov 4, 2025
303183a
chore: Test with bep038 branch
effigies Nov 4, 2025
a3a51f5
Deduplicate atlas-4S_description.json
effigies Nov 4, 2025
81cd4a0
Merge branch 'bep038' into add-atlas-examples-peer
effigies Nov 4, 2025
e2da5c8
Move labels into LabelMap
effigies Nov 4, 2025
4a25883
fix: Correct atlas label
effigies Nov 4, 2025
b90da27
Merge pull request #518 from PeerHerholz/add-atlas-examples-peer
effigies Nov 4, 2025
cf81c70
Use atlas-4S to show using an atlas as a source dataset
effigies Nov 5, 2025
094c28e
Address codespell complaints
effigies Nov 6, 2025
536d0fa
Add SpatialReferences for SUIT atlas files
effigies Nov 6, 2025
35f3551
Remove SpatialReference from example atlas descriptions
effigies Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/validate_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: validate_datasets

on:
push:
branches: ['**']
branches: [master, main]
tags: ['*']
pull_request:
branches: ['**']
create:
branches: [master]
tags: ['**']
branches: [master, main, 'bep*']
schedule:
- cron: "0 4 * * 1"

Expand Down Expand Up @@ -107,7 +105,7 @@ jobs:
fi

- name: Skip legacy validation for post-legacy datasets
run: for DS in mrs_* dwi_deriv pet006 pheno004 volume_timing; do touch $DS/.SKIP_VALIDATION; done
run: for DS in mrs_* dwi_deriv pet006 pheno004 volume_timing atlas-*; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator == 'legacy'

- name: Skip stable validation for datasets with unreleased validator features
Expand All @@ -119,7 +117,7 @@ jobs:
- name: Skip main validation for datasets with unreleased spec features
# Replace ${EMPTY} with dataset patterns, when this is needed
# Reset to "for DS in ${EMPTY}; ..." after a spec release
run: for DS in dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
run: for DS in dwi_deriv pheno004 atlas-*; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator != 'dev'

- name: Set BIDS_SCHEMA variable for dev version
Expand All @@ -128,7 +126,7 @@ jobs:
# Update this URL to the schema.json from PRs to the spec, when needed.
# If this variable is unset, dev will generally track the latest development
# release of https://jsr.io/@bids/schema
run: echo BIDS_SCHEMA=https://bids-specification.readthedocs.io/en/latest/schema.json >> $GITHUB_ENV
run: echo BIDS_SCHEMA=https://bids-specification--1714.org.readthedocs.build/en/1714/schema.json >> $GITHUB_ENV

- name: Validate all BIDS datasets using bids-validator
run: |
Expand Down
8 changes: 8 additions & 0 deletions atlas-4S/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 4S: Schaefer Supplemented with Subcortical Structures

This repository contains two resolutions (156, 256) of the 4S atlas,
which is the Schaefer 2018 cortical atlas supplemented with subcortical structures from other atlases.

The atlas is shared in MNI152NLin6Asym, MNI152NLin2009cAsym, MNIInfant:cohort-1, MNIInfant:cohort-2, and fsLR space.

There are also versions of the atlas warped to subject-specific spaces and/or resolutions in the `sub-<label>` directories.
5 changes: 5 additions & 0 deletions atlas-4S/dataset_description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"BIDSVersion": "1.11.0",
"DatasetType": "derivative",
"Name": "4S: Schaefer Supplemented with Subcortical Structures"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-1/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-MNIInfant+1_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-1_res-1_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-1/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-MNIInfant+1_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-1_res-1_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"SkullStripped": false,
"Sources": [
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-1_res-1_T1w.nii.gz"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-2_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-MNIInfant+2_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-2_res-01_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-2_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-MNIInfant+2_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-2_res-01_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"SkullStripped": false,
"Sources": [
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-2_res-01_T1w.nii.gz"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-1/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-anat_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-anat_desc-preproc_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-1/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-anat_desc-preproc_T1w.nii.gz"
],
"SpatialReference": "bids::sub-01/ses-2mo/anat/sub-01_ses-2mo_space-anat_desc-preproc_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"SkullStripped": false,
"Sources": [
"bids:raw:sub-01/ses-2mo/anat/sub-01_ses-2mo_T1w.nii.gz"
]
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-MNIInfant+1_desc-preproc_bold.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-1_res-1_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-MNIInfant+1_desc-preproc_bold.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-1_res-1_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-2_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-MNIInfant+2_desc-preproc_bold.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-2_res-01_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-2_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-MNIInfant+2_desc-preproc_bold.nii.gz"
],
"SpatialReference": "https://templateflow.s3.amazonaws.com/tpl-MNIInfant_cohort-2_res-01_T1w.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-156_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-boldref_desc-preproc_bold.nii.gz"
],
"SpatialReference": "bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-boldref_desc-preproc_bold.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Manual": "false",
"Sources": [
"bids::tpl-MNIInfant/cohort-2/anat/tpl-MNIInfant_cohort-1_atlas-4S_scale-256_res-01_dseg.nii.gz",
"bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-boldref_desc-preproc_bold.nii.gz"
],
"SpatialReference": "bids::sub-01/ses-2mo/func/sub-01_ses-2mo_task-rest_space-boldref_desc-preproc_bold.nii.gz",
"index_17network": {
"Description": "The corresponding integer value of this node in the 17-network Schaefer atlas imaging file.",
"LongName": "Node index from Schaefer 17-network atlas"
},
"name_17network": {
"Description": "The label of the node as it appears in the canonical Schaefer 17-network atlas.",
"LongName": "Node label from Schaefer 17-network atlas"
},
"name_7network": {
"Description": "The label of the node as it appears in the canonical Schaefer 7-network atlas.",
"LongName": "Node label from Schaefer 7-network atlas"
},
"network_label_17network": {
"Description": "The name of the network this node is assigned to in the Schaefer 17-network atlas.",
"LongName": "Network label from Schaefer 17-network atlas"
}
}
Binary file not shown.
Loading
Loading