Skip to content

Chore: remove unused extract_patch method in ImageStack implementations#724

Merged
jdeschamps merged 7 commits into
mainfrom
jd/chore/remove_unused_method
Feb 4, 2026
Merged

Chore: remove unused extract_patch method in ImageStack implementations#724
jdeschamps merged 7 commits into
mainfrom
jd/chore/remove_unused_method

Conversation

@jdeschamps
Copy link
Copy Markdown
Member

@jdeschamps jdeschamps commented Feb 3, 2026

Description

Since #640 ImageStack.extract_patch is not used anymore and the dataset instead calls ImageStack.extract_channel_patch. This PR removes the methods and their calls in tests.

Closes #708

@jdeschamps jdeschamps requested a review from a team February 3, 2026 16:35
Copy link
Copy Markdown
Member

@melisande-c melisande-c left a comment

Choose a reason for hiding this comment

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

Should extract_channel_patch be renamed to extract_patch? There is no need to distinguish a patch from a channel patch and it is a little less verbose

@jdeschamps
Copy link
Copy Markdown
Member Author

jdeschamps commented Feb 3, 2026

Should extract_channel_patch be renamed to extract_patch? There is no need to distinguish a patch from a channel patch and it is a little less verbose

That's a good idea!

@jdeschamps jdeschamps merged commit 2358f48 into main Feb 4, 2026
13 checks passed
@jdeschamps jdeschamps deleted the jd/chore/remove_unused_method branch February 4, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Next-Gen Dataset: Remove unused method in ImageStack and implementations

2 participants