Skip to content

Conversation

@ClePol
Copy link
Member

@ClePol ClePol commented Jan 13, 2026

I updated the CC documentation to clean it up and match the status for the release.

This PR also serves as point to commit last changes before I run final tests, therefore I'm putting it into draft mode. I will remove the draft label when all tests ran successfully.

ClePol and others added 4 commits January 13, 2026 16:50
…r consistency (identical results)

Add --conformed_name with orig image to fastsurfer_cc.py call in run_fastsurfer.sh
Fix output files formatting
Fix more formatting of Markdown files
@dkuegler dkuegler marked this pull request as ready for review January 14, 2026 16:37
Copy link
Member

@dkuegler dkuegler left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up the Corpus Callosum (CC) module documentation and fixes a coordinate transformation bug in preparation for release. The changes reorganize documentation across multiple files, fix a critical bug in AC/PC coordinate calculation, and improve code consistency in the subdivision logic.

Changes:

  • Fixed coordinate transformation bug where AC/PC coordinates were incorrectly calculated by mixing RAS and voxel coordinates
  • Reorganized CC documentation into three focused sections: module overview, advanced options, and output files
  • Improved subdivision code consistency by always transforming midline to ACPC space before subdivision

Reviewed changes

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

Show a summary per file
File Description
run_fastsurfer.sh Added --conformed_name parameter to fastsurfer_cc.py call
doc/scripts/fastsurfer_cc.rst Cleaned up and expanded documentation with quality control and analysis mode sections
doc/overview/modules/CC.md Restructured to focus on JSON output structure, removed duplicate content
doc/overview/OUTPUT_FILES.md Updated file naming conventions and descriptions for CC module outputs
CorpusCallosum/shape/postprocessing.py Fixed subdivision to consistently use ACPC space for all subdivision methods
CorpusCallosum/fastsurfer_cc.py Fixed AC/PC coordinate transformation bug, removed unused TypeVar import
CorpusCallosum/README.md Updated documentation structure with clearer organization

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dkuegler
Copy link
Member

@m-reuter all items from co-pilot are resolved/fixed.

@dkuegler dkuegler marked this pull request as draft January 14, 2026 17:44
Remove dev flag from run_fastsurfer.sh
@dkuegler dkuegler marked this pull request as ready for review January 14, 2026 17:48
@dkuegler dkuegler marked this pull request as draft January 14, 2026 18:56
@dkuegler
Copy link
Member

I found another issue in CC, halting merge for now.

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.

3 participants