Project

General

Profile

Actions

Bug #3931

open

makeDEAlignedSum.py try to process images with no frames saved

Added by Anchi Cheng almost 9 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
02/04/2016
Due date:
% Done:

0%

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

Description

When people starts the session without saving frames and then later saves them, appionLoop and therefore appion PBS does not distinguish them.
There got an error in getTarget function

Traceback (most recent call last):
  File "/opt/myamisnap/bin/makeDEAlignedSum.py", line 372, in <module>
    makeSum.run()
  File "/opt/myamisnap/lib/appionlib/appionPBS.py", line 108, in run
    targetdict=self.getTargets(imgdata, scratchdir=scratchdir, handlefiles=self.params['handlefiles'])
  File "/opt/myamisnap/bin/makeDEAlignedSum.py", line 117, in getTargets
    framesroot, framesextension=os.path.splitext(glob.glob(os.path.join(framespath, (imgdata['filename']+'*')))[0])
IndexError: list index out of range
Actions

Also available in: Atom PDF