Project

General

Profile

Actions

Bug #4023

open

makeDEAlignedSum fails after one image

Added by Carl Negro over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/10/2016
Due date:
% Done:

0%

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

Description

makeDEAlignedSum throws a keyError inside appionLoop2.py, that self.stats['totalcount'] is not found, even though it was declared previously in run(). Bill will queue up more targets soon so we can replicate the original error.


Related issues 1 (1 open0 closed)

Related to Appion - Bug #4018: appionLoop count remaining image wrong when images are rejected while processingAssignedAnchi Cheng03/09/2016

Actions
Actions #1

Updated by Anchi Cheng over 8 years ago

I think the problem is that I declared self.stats['totalcount'] = 0 in run function of AppionLoop class which AppionPBS has overwritten. Since AppionPBS.run does not declare totalcount, but AppionPBS still calls _printSummary defined in AppionLoop, Therefore it broke.

The fix in r19580 declares the same variable again in _printSummary which is why it worked, but this makes it never print out the remaining time.

To fix this properly, self.stats['totalcount'] need to be set during class initialization with other self.stats items. This is in basicScript.py

Actions #2

Updated by Anchi Cheng over 8 years ago

  • Affected Version changed from Appion/Leginon 3.2 to Appion/Leginon 3.3
Actions #3

Updated by Anchi Cheng over 8 years ago

  • Related to Bug #4018: appionLoop count remaining image wrong when images are rejected while processing added
Actions

Also available in: Atom PDF