Project

General

Profile

Actions

Bug #6812

closed

Error on Align Presets screen when the source preset is the last in the list

Added by Daniel Alford over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Leginon GUI
Start date:
03/06/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.3
Show in known bugs:
No
Workaround:

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'

Actions #1

Updated by Anchi Cheng over 5 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.

Actions #2

Updated by Anchi Cheng over 5 years ago

  • Status changed from In Test to Closed

Did not hear back from user. Close for now.

Actions #3

Updated by Anchi Cheng over 5 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
Actions

Also available in: Atom PDF