Bug #4414
openarray too big for generating miss stack
0%
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.