From 83b5e0b330688613058989692548fc4b9feebd4d Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Fri, 14 Mar 2025 16:46:25 +0100 Subject: [PATCH 1/5] update: bump junifer-data version to v2 --- junifer/data/coordinates/_coordinates.py | 8 ++++---- junifer/data/utils.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/junifer/data/coordinates/_coordinates.py b/junifer/data/coordinates/_coordinates.py index b2e86fffc..66193be2a 100644 --- a/junifer/data/coordinates/_coordinates.py +++ b/junifer/data/coordinates/_coordinates.py @@ -106,10 +106,6 @@ class CoordinatesRegistry(BasePipelineDataRegistry, metaclass=Singleton): "file_path_suffix": "WM/WM_VOIs.txt", "space": "MNI", }, - "Power": { - "file_path_suffix": "Power/Power2011_MNI_VOIs.txt", - "space": "MNI", - }, "Power2011": { "file_path_suffix": "Power/Power2011_MNI_VOIs.txt", "space": "MNI", @@ -124,6 +120,10 @@ class CoordinatesRegistry(BasePipelineDataRegistry, metaclass=Singleton): ), "space": "MNI", }, + "Seitzman2018": { + "file_path_suffix": "Seitzman/Seitzman2018_MNI_VOIs.txt", + "space": "MNI", + }, } ) diff --git a/junifer/data/utils.py b/junifer/data/utils.py index 1b64e04b0..836f96599 100644 --- a/junifer/data/utils.py +++ b/junifer/data/utils.py @@ -24,10 +24,10 @@ __all__ = [ # junifer-data version constant -JUNIFER_DATA_VERSION = "1" +JUNIFER_DATA_VERSION = "2" # junifer-data hexsha constant -JUNIFER_DATA_HEXSHA = "e9aecf7b5a2fff82de00d265e02afde42a448647" +JUNIFER_DATA_HEXSHA = "015712689254c052fa64bca19f0f2da342e664ac" JUNIFER_DATA_PARAMS = { "tag": JUNIFER_DATA_VERSION, -- 2.52.0 From 8909ba9f3bedc19257451d90e25aa94eb0dcde05 Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Fri, 14 Mar 2025 17:10:00 +0100 Subject: [PATCH 2/5] docs: add Seitzman2018 to builtin.rst --- docs/builtin.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/builtin.rst b/docs/builtin.rst index 6a4892607..2c31cabef 100644 --- a/docs/builtin.rst +++ b/docs/builtin.rst @@ -640,6 +640,15 @@ Available | Meta-analysis. | Journal of Cognitive Neuroscience, Volume 21(3), Pages 489–510 (2009). | https://doi.org/10.1162/jocn.2008.21029 + * - | Functionally-constrained ROIs from non-cortical structures from + | Seitzman et al. (2020) + - ``Seitzman2018`` + - 0.0.6 + - | Seitzman, B. A., Gratton, C., Marek, S. et al. + | A set of functionally-defined brain regions with improved representation + | of the subcortex and cerebellum. + | NeuroImage, Volume 206 (2020). + | https://doi.org/10.1016/j.neuroimage.2019.116290 Planned -- 2.52.0 From 6bf6f0282827578b18daad790dd59f4163cb362d Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Fri, 14 Mar 2025 17:19:19 +0100 Subject: [PATCH 3/5] chore: add changelog 437.misc --- docs/changes/newsfragments/437.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/changes/newsfragments/437.misc diff --git a/docs/changes/newsfragments/437.misc b/docs/changes/newsfragments/437.misc new file mode 100644 index 000000000..60eeb43bc --- /dev/null +++ b/docs/changes/newsfragments/437.misc @@ -0,0 +1 @@ +Bump ``junifer-data`` to ``v2``, remove ``Power`` and add ``Seitzman2018`` to :class:`.CoordinatesRegistry` by `Synchon Mandal`_ -- 2.52.0 From ccf82ab55e52b1d2ddb1277caa1b8ab24bf1bea2 Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Mon, 17 Mar 2025 11:50:53 +0100 Subject: [PATCH 4/5] ci: use junifer-data/v2 for workflows --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docs-preview.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba9e2a7de..da6e721c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,8 +46,8 @@ jobs: jq - name: Copy junifer-data directory run: | - mkdir -p $HOME/junifer_data/v1 - cp -ar /root/junifer_data/v1/. $HOME/junifer_data/v1/ + mkdir -p $HOME/junifer_data/v2 + cp -ar /root/junifer_data/v2/. $HOME/junifer_data/v2/ - name: Checkout repository uses: actions/checkout@v4 with: diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index b077ee3be..065b4c7d7 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -39,8 +39,8 @@ jobs: jq - name: Copy junifer-data directory run: | - mkdir -p $HOME/junifer_data/v1 - cp -ar /root/junifer_data/v1/. $HOME/junifer_data/v1/ + mkdir -p $HOME/junifer_data/v2 + cp -ar /root/junifer_data/v2/. $HOME/junifer_data/v2/ - name: Checkout repository uses: actions/checkout@v4 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3a721e5dc..741a7d0f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,8 +31,8 @@ jobs: jq - name: Copy junifer-data directory run: | - mkdir -p $HOME/junifer_data/v1 - cp -ar /root/junifer_data/v1/. $HOME/junifer_data/v1/ + mkdir -p $HOME/junifer_data/v2 + cp -ar /root/junifer_data/v2/. $HOME/junifer_data/v2/ - name: Checkout repository uses: actions/checkout@v4 with: -- 2.52.0 From ef91fd54e1a1049dd045aaa382dc2058481a8cbe Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Mon, 17 Mar 2025 15:02:42 +0100 Subject: [PATCH 5/5] chore: update changelog 437.misc --- docs/changes/newsfragments/437.misc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changes/newsfragments/437.misc b/docs/changes/newsfragments/437.misc index 60eeb43bc..23dc79f96 100644 --- a/docs/changes/newsfragments/437.misc +++ b/docs/changes/newsfragments/437.misc @@ -1 +1 @@ -Bump ``junifer-data`` to ``v2``, remove ``Power`` and add ``Seitzman2018`` to :class:`.CoordinatesRegistry` by `Synchon Mandal`_ +Bump ``junifer-data`` to ``v2`` for CI workflows, remove ``Power`` and add ``Seitzman2018`` to :class:`.CoordinatesRegistry` by `Synchon Mandal`_ -- 2.52.0