Skip to content

Keep channels in Volume.copy - #463

Closed
asaraog wants to merge 2 commits into
ImagingDataCommons:masterfrom
asaraog:fix/volume-copy-channels
Closed

asaraog wants to merge 2 commits into
ImagingDataCommons:masterfrom
asaraog:fix/volume-copy-channels

Conversation

@asaraog

@asaraog asaraog commented Sep 26, 2026

Copy link
Copy Markdown

Closes #462. copy() rebuilt the Volume without channels, so it raised for any multi-channel volume and match_geometry() failed when geometries already matched.
Written with AI assistance (Claude Code); reviewed and tested by me.

@CPBridge

CPBridge commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for the contribution, but I have decided to close this in favour of my own fix #468, which also removes the copy in match_geometry, which on reflection was not really necessary

@CPBridge CPBridge closed this Oct 6, 2026
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.

Volume.copy() drops channels, so match_geometry() fails on multichannel volumes with equal geometry

2 participants