Repository navigation
feat(migrate): atlases tables from cited rows (T04), authors, new sidecars - #26
Merged
Merged
Conversation
…ecars The config's `atlases` section gives a row of tpl-<label>_atlases.tsv for each of the 35 atlases of the Archive (11 templates): name, description, authors of the atlas's primary paper (Crossref, Europe PMC, or the dataset record), curators (sidecars, else the commit that added the atlas), references, and the license of its licenses.table entry. Each row cites its evidence. T04 writes the table and strips the fields of the atlas as a whole from the sidecars of its files; T08 then generates atlas-<label>_description.json. An atlas without a row keeps its sidecars (M212, non-blocking); a row without files is stale (M108). T06 writes "Family, I." Authors and Curators as "Family I". Config edits correct the authors it cannot rewrite (UNCInfant, fsLR, fsaverage, VALiDATe29), two broken links (RESILIENT, NMT31Sym) and the dhcp cohort ages (postmenstrual weeks), and may now create a sidecar (`create: true`): 12 new sidecars say what the desc and atlas values dropped by the renames meant. Archive: strict errors 133 -> 56 (TF310, TF601 and TF608 gone); NMT31Sym and SUIT flip; idempotent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 5, 2026
oesteban
marked this pull request as ready for review
December 6, 2026 08:29
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR 5c2 of the migration to TemplateFlow 2.0 covers the atlases and the last description fields. Each of the 35 atlases of the Archive gets a cited row of its template's atlases table. A new transform, T04, writes those tables and moves the fields of the atlas as a whole out of the sidecars. This PR is stacked on #25, because T04 takes each atlas's license from 5c1's table.
The sources of each field:
Name,ShortDesc,LongDesc); otherwise drafted from the cited paper.The config loader checks the new sections:
createedit that also removes fields.Evidence
Migrated Archive (pinned v2 skeleton,
test_archive):test_archive_idempotent).New tests (
test_migrate_atlases.py):create/removecheck.Local CI on 2a7bc79. GitHub CI does not run on this stacked PR:
Decisions to look at again (all approved on 2026-12-05):
desc-DCis described by content; "DC" stays unexpanded until its authors say what it means (WP5).Merge Danger
Door: two-way
The config and the code only plan migrations. Nothing changes in the Archive until each template's WP5 PR applies its plan. Merge after #25: this PR's base then becomes master.
Blast Radius: migration plans
tfmgr validate,tfmgr addand the client are untouched. NMT31Sym and SUIT now flip, so they get a 2.0.0 CHANGES entry and new versions in their WP5 PRs.