Project

General

Profile

Actions

Bug #4064

open

makeDDRawFrameStack.py need to handle error of frame files

Added by Anchi Cheng over 8 years ago.

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

0%

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

Description

Starting image 0 ( skip:303, remain:3 ) id:574238, file: 16mar25f_09gr_029sq_013hln_02enm
 ... Pixel size: 1.09699
rawframe_basepath /gpfs/frames/acheng/16mar25f/rawdata
 ... Setting new camera info....
 ... Reference comes from current image
 ... Reference comes from current image
 ... Reference comes from current image
 ... Reference comes from current image
!!! DEBUG: frame flip True, frame_rotate 0
!!! DEBUG: frame flip True, frame_rotate 0
flipping frame stack
Traceback (most recent call last):
  File "/emg/sw/packages/myamisnap/appion/bin/makeDDRawFrameStack.py", line 203, in <module>
    makeStack.run()
  File "/emg/sw/packages/myamisnap/appion/appionlib/appionLoop2.py", line 87, in run
    results = self.loopProcessImage(imgdata)
  File "/emg/sw/packages/myamisnap/appion/appionlib/appionLoop2.py", line 137, in loopProcessImage
    return self.processImage(imgdata)
  File "/emg/sw/packages/myamisnap/appion/bin/makeDDRawFrameStack.py", line 155, in processImage
    self.dd.makeRawFrameStackForOneStepCorrectAlign(self.params['rawarea'])
  File "/emg/sw/packages/myamisnap/appion/appionlib/apDDprocess.py", line 965, in makeRawFrameStackForOneStepCorrectAlign
    a = numpy.fliplr(a)
  File "/usr/lib64/python2.6/site-packages/numpy/lib/twodim_base.py", line 61, in fliplr
    raise ValueError, "Input must be >= 2-d." 
ValueError: Input must be >= 2-d.

This frame stack is shorter than the later ones and was the first image taken after I've increased the exposure time from 7 seconds to 10 seconds and therefore from 35 frames to 50 frames.

No data to display

Actions

Also available in: Atom PDF