Skip to content

WIP/ENH option to auto delete full tractogram in export all#203

Open
36000 wants to merge 1 commit into
tractometry:mainfrom
36000:del_tractogram
Open

WIP/ENH option to auto delete full tractogram in export all#203
36000 wants to merge 1 commit into
tractometry:mainfrom
36000:del_tractogram

Conversation

@36000

@36000 36000 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 10, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an optional post-export cleanup step to remove the full (unsegmented) tractography output to reduce disk usage after running export_all().

Changes:

  • Add delete_full_tractogram flag to ParticipantAFQ.export_all() and GroupAFQ.export_all().
  • Implement delete_full_tractogram() helper methods for participant- and group-level APIs.
  • Update docstrings to document the new flag and its intent (disk space savings).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
AFQ/api/participant.py Adds delete_full_tractogram option to export_all() and implements deletion of full tractogram + sidecar JSON.
AFQ/api/group.py Adds delete_full_tractogram option to group export_all() and forwards deletion across participants.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AFQ/api/participant.py
Comment thread AFQ/api/group.py
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.

2 participants