Project

General

Profile

Actions

Bug #4414

open

array too big for generating miss stack

Added by Zhening Zhang about 8 years ago. Updated about 8 years ago.

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

0%

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

Description

generate miss stack do not work in SEMC head.
Here is the error message:
Connected to database: 'nyap_141'
... Getting stack data for stackid=195
Old stack info: 'tst ... 83193 particle substack with 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,32,34,46 classes excluded'
... Querying original particles from stackid=195
... original stackid: 163
connecting
Original stack: /gpfs/appion/zzhang/16jul15c/stacks/stack27/start.hed
... Getting stack data for stackid=195
Old stack info: 'tst ... 83193 particle substack with 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,32,34,46 classes excluded'
... Stack 195 pixel size: 1.097
... generating stack: '/gpfs/appion/zzhang/16jul15c/stacks/alignsub97/start.hed' with 83193 particles
Traceback (most recent call last):
File "/opt/myamisnap/bin/generateMissingStack.py", line 35, in <module>
apVirtualStack.generateMissingStack(params['stackid'])
File "/opt/myamisnap/lib/appionlib/apVirtualStack.py", line 32, in generateMissingStack
a.run()
File "/opt/myamisnap/lib/appionlib/proc2dLib.py", line 46, in run
self.approc2d.start()
File "/opt/myamisnap/lib/appionlib/proc2dLib.py", line 400, in start
indata = self.readFileData(self.params['infile'])
File "/opt/myamisnap/lib/appionlib/proc2dLib.py", line 193, in readFileData
data = imagic.read(filename)
File "/opt/myamisnap/lib/pyami/imagic.py", line 73, in read
a = readImagicData(pair['img'], header_dict, frame)
File "/opt/myamisnap/lib/pyami/imagic.py", line 43, in readImagicData
a = numpy.memmap(filename, dtype=dtype, mode='r', offset=start, shape=shape, order='C')
File "/usr/lib64/python2.6/site-packages/numpy/core/memmap.py", line 226, in new
offset=offset, order=order)
ValueError: array is too big.

Actions

Also available in: Atom PDF