purge_subject
Remove all cortical_tiles derivatives for a single subject. Use dry_run to preview deletions.
Instructions
Remove all cortical_tiles derivatives for a single subject.
Deletes per-subject NIfTI files (crops, labels, extremities, distbottom), per-subject subdirectories (skeletons/, foldlabels/, transforms/, distmaps/), and filters the subject's row from aggregated .npy arrays and their subject CSVs.
Use dry_run=True to preview what would be deleted without modifying anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| subject | Yes | ||
| derivatives | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||