Skip to content

Update script and tutorial datasets for PR #5197#36

Merged
joshuacwnewton merged 5 commits intomasterfrom
jn/5023-update-web-tutorials-for-sct-course-2025
May 8, 2026
Merged

Update script and tutorial datasets for PR #5197#36
joshuacwnewton merged 5 commits intomasterfrom
jn/5023-update-web-tutorials-for-sct-course-2025

Conversation

@joshuacwnewton
Copy link
Copy Markdown
Member

I'm going to point the release workflow at this PR and generate the asset zips to test the changes on the SCT side of things, then we can merge..

This should save us from having to ever manually update CSVs again.
- mismatches between single-subject and multi-subject CSVs
- missing truncation on mtr_in_wm.csv
@joshuacwnewton
Copy link
Copy Markdown
Member Author

Tested! Merging so that I can create the actual release.

@joshuacwnewton joshuacwnewton merged commit 25f764a into master May 8, 2026
2 checks passed
joshuacwnewton added a commit to spinalcordtoolbox/spinalcordtoolbox that referenced this pull request May 8, 2026
…CT Course (#5197)

## Description

This PR updates the web tutorials to match the changes that were made
in:

- spinalcordtoolbox/sct_tutorial_data#33

Specifically, the diff for
[`batch_single_subject.sh`](https://github.com/spinalcordtoolbox/sct_tutorial_data/pull/33/changes#diff-bf79b667b525e00b983d8538154723e006d36c500444390dc24f8b64c379e494)
is used to guide the following changes:

- `sct_label_vertebrae` -> `sct_deepseg spine`
   * `-vertfile` -> `-discfile`
   * `-l` -> `-ldisc`
- `sct_deepseg_gm` -> `sct_deepseg graymatter`
- Add missing lumbar QC command
- Add missing aSCOR command

All together, I think these changes are largely straightforward and
should be easy to match 1:1 to the script/course changes from last year.

This PR also makes some small fixes here and there when noticed:

- Improved instructions for `sct_analyze_lesion -f label` (removed
confusing `-f label_T2w`)

## Remaining TODOs

- [ ] Update all CSV values displayed in the web tutorials with the most
up-to-date CSV metrics from the CI.
- [ ] The `sct_compute_compresion` tutorial still uses
`sct_label_vertebrae` (in the course as well) -- maybe a follow-up
change for the 2026 Course?
- [ ] The `batch_single_subject.sh` changes include a new cropping prior
to `sc_epi`, but this model isn't used in the tutorials. Should we add a
tutorial for it?

## Concurrent changes

- spinalcordtoolbox/doc-figures@d28af2e
- spinalcordtoolbox/sct_tutorial_data#36

## Built documentation

- https://spinalcordtoolbox--5197.org.readthedocs.build/5197/

## Linked issues

Fixes #5012.
Fixes #5139.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant