Bug #4023
openmakeDEAlignedSum fails after one image
0%
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.
Updated by Anchi Cheng about 9 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
Updated by Anchi Cheng about 9 years ago
- Affected Version changed from Appion/Leginon 3.2 to Appion/Leginon 3.3
Updated by Anchi Cheng almost 9 years ago
- Related to Bug #4018: appionLoop count remaining image wrong when images are rejected while processing added