Skip to content

[DOC] more explicit cleaning testing#118

Merged
36000 merged 2 commits into
tractometry:mainfrom
36000:return_idx_fix
Oct 6, 2025
Merged

[DOC] more explicit cleaning testing#118
36000 merged 2 commits into
tractometry:mainfrom
36000:return_idx_fix

Conversation

@36000

@36000 36000 commented Oct 3, 2025

Copy link
Copy Markdown
Collaborator

I believe #117 is just due to using an older version of pyAFQ. But these tests are helpful anyways

Copilot AI review requested due to automatic review settings October 3, 2025 01:48

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

This pull request adds more explicit testing for the cleaning functionality in pyAFQ, addressing potential issues related to older versions of the library. The changes include enhanced debugging capabilities and more thorough validation of streamline data integrity during cleaning operations.

Key changes:

  • Added logging configuration for better debugging during cleaning operations
  • Implemented comprehensive validation tests to ensure streamline data consistency
  • Enhanced existing tests with node-by-node verification of streamline integrity

Reviewed Changes

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

File Description
AFQ/recognition/tests/test_utils.py Added logging setup for debugging and new test_cleaning() function with detailed streamline validation
AFQ/recognition/tests/test_recognition.py Enhanced test_segment_return_idx() with node-level streamline integrity checks

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread AFQ/recognition/tests/test_utils.py Outdated
Comment thread AFQ/recognition/tests/test_utils.py
Comment thread AFQ/recognition/tests/test_utils.py Outdated
@arokem

arokem commented Oct 3, 2025

Copy link
Copy Markdown
Member

A PR that is all just tests is probably my favorite kind of PR.

@36000
36000 merged commit f8798bc into tractometry:main Oct 6, 2025
9 checks passed
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