Bug #6812
closedError on Align Presets screen when the source preset is the last in the list
0%
As a workaround, creating another "dummy" preset after the last preset will make the Align Presets command run.
Description
When using the align presets filter, if you select the last preset in the list as the source preset you get the following error
{/path/to/myami}/leginon/gui/wx/PresetsManager.py, line 1431, in onStart
if currentpresetleft refname and currentpresetright self.node.firstrightpreset and self.parent.customalign == False:
AttributeError: 'PresetsManager' object has no attribute 'firstrightpreset'
Updated by Anchi Cheng almost 6 years ago
- Status changed from New to In Test
- Assignee changed from Anchi Cheng to Daniel Alford
Thank you for reporting the bug. I was not able to repeat it but found the part of the code that can use a default assignment to get around this problem.
I pushed the fix into beta, 3.3, and a new updated 3.4 that is identical to beta versions. If you are on either one, please update.
If it is not fixed, I need some further information. I need to know the list of all your preset mag in order as they appear in PresetsManager. Thanks.
Updated by Anchi Cheng almost 6 years ago
- Status changed from In Test to Closed
Did not hear back from user. Close for now.
Updated by Anchi Cheng almost 6 years ago
- Target version changed from Appion/Leginon Future Version to Appion/Leginon 3.4
- Affected Version changed from Appion/Leginon 3.4 to Appion/Leginon 3.3