prune_failed_subjects
Remove cortical tiles outputs for subjects that failed quality control. Reads a QC file and deletes files for subjects with qc=0 or missing entries.
Instructions
Remove cortical_tiles outputs for all subjects that failed QC.
Reads a QC TSV/CSV file with 'participant_id' and 'qc' columns and deletes all files belonging to subjects with qc==0 or absent from the QC file. Equivalent to having run cortical_tiles with --sk_qc_path from the start.
Use dry_run=True to preview what would be deleted without modifying anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qc | Yes | ||
| output | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||