Actions
Bug #1715
openreadImagic does not use smaller particle iteration number for larger particle image
Status:
In Code Review
Priority:
Normal
Assignee:
Category:
Python scripting
Target version:
Start date:
04/13/2012
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:
Description
This is fixed at 4096 so that if the particle box size is large, it will fail even though it does not have to.
Updated by Anchi Cheng over 12 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Anchi Cheng to Dmitry Lyumkis
r16489 add a function to make a reasonable number for this case and use it in appion/bin/uploadMaxlikeAlignment.py where the bug was discovered.
Testing:
1. Test if uploadMaxlikeAlignment.py works in general:
run maxlike alignment on any stack and upload. It should go through fine.
2. Test the function directly on a large box stack from python command line.
You can use /ami/data00/appion/zz09feb18c/stacks/stack1/start.img which I made for this testing (1024x1024 box)
from appionlib import apImagicFile apImagicFile.getPartSegmentLimit('/ami/data00/appion/zz09feb18c/stacks/stack1/start.img')
The function should return a small number 256. If you run the same on a regular sized stack, you should
get a larger number like 4096
Actions