SynapseWeb / PyReconstruct

GNU General Public License v3.0
8 stars 2 forks source link

Renaming alignments clears assigned Object alignments #32

Closed dustenhubbard closed 1 month ago

dustenhubbard commented 1 month ago

Describe the bug

When viewing the Modify Alignments window, there is an option to rename an alignment in the list. If you rename an alignment, any object in the Objects List with that alignment already assigned gets cleared and the user has to manually reassign the object alignment.

Commit or version

bf171e7

Desktop environment:

macOS 15.0

Python version

3.11

Error messages

none

quasiTriestino commented 1 month ago

@dustenhubbard Thanks for giving us the heads up. I have implemented a fix that will rename obj alignments appropriately with commit 36045d7. Be aware that renaming alignments in large series will take a second. (You will get a progress bar.) To get around this, in a future fix, we will move alignments into the hidden .ser file, which should make the process snappier.

Please give the fix a try and let us know how it goes. Thanks again!