Purge Subject
purge_subjectDelete all cortical_tiles derivatives for one subject: per-subject NIfTI files, subdirectories, and aggregated array/CSV rows. Preview deletions first with dry_run=True.
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 | |||