Repository navigation
fix: duplicate filament sets, meshes and segmentations (v2.0) - #124
Merged
Merged
Conversation
The duplicate button did nothing for filaments (not connected), meshes and segmentations (empty handlers). All three now copy the entry to the chosen user / session with copick's copy operation (segmentations keep their type and voxel size), after storing pending edits, and show the copy; a target that already exists is reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uermel
pushed a commit
that referenced
this pull request
Oct 16, 2026
🤖 I have created a release *beep* *boop* --- ## [2.0.0-alpha.7](chimerax-copick-v2.0.0-alpha.6...chimerax-copick-v2.0.0-alpha.7) (2026-10-16) ### ✨ Features * colour filaments by object, and filament transparency (v2.0) ([#126](#126)) ([2d7821f](2d7821f)) ### 🐞 Bug Fixes * duplicate filament sets, meshes and segmentations (v2.0) ([#124](#124)) ([c323172](c323172)) * require copick-shared-ui 2.0.0a4 ([#132](#132)) ([e358c24](e358c24)) ### ⚙ Continuous Integration * v2.0 release PR titles without the branch scope ([#129](#129)) ([644c279](644c279)) --- Merging this PR will publish a chimerax-copick alpha GitHub prerelease. It will not publish to the ChimeraX Toolshed. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of the main-line fix to v2.0 (plus the test stub for copick_object_type).
The duplicate (📋) button on the object tables did nothing for:
duplicateClickedwas never connected and there was no handler;# TODOstubs.Change
_duplicate_entitystores pending edits first, so the copy includes them, then copies the entry to the user / session chosen in the Duplicate dialog. It uses copick'scopy_copick_objects.update_meshes_table()is added, mirroring the segmentations one.Tested in ChimeraX 1.12 on a copy of the 10521 test project:
Unit tests and the CI lint steps pass on both lines.
🤖 Generated with Claude Code