Bug #1055
closedAdd helicalstep parameter in runManualPicker.php
0%
Description
Manual picker was recently fixed so that helical filaments can be selected, but the command requires a helical step input which is currently not included in the web form. As it is now this parameter has to be manually added into the command, otherwise manual picker will give an "unknown helical step size" warning and will not select filaments. The php code needs to be updated to be compatible with the python.
Updated by Lauren Fisher almost 14 years ago
- Status changed from New to In Code Review
- Assignee changed from Lauren Fisher to Anchi Cheng
Added helical step parameter on the php form and command line output in r15102. Added help info in r15103.
Updated by Anchi Cheng almost 14 years ago
- Status changed from In Code Review to Assigned
- Assignee changed from Anchi Cheng to Lauren Fisher
Could you move the php input to be after particle diameter? Since most particle pickers have particle diameter as the first input, it made me to input in the wrong place when I, and majority of the users, don't need helical parameters.
Updated by Lauren Fisher almost 14 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Lauren Fisher to Anchi Cheng
No problem, r15227 moved the helical parameters below the particle parameters. Hopefully this helps eliminate some of the confusion for users who are familiar with the previous layout.
Updated by Anchi Cheng almost 14 years ago
- Status changed from In Code Review to Closed
code reviewed and tested
Updated by Gabriel Lander over 13 years ago
- Status changed from Closed to In Code Review
"$_POST" check for helical stepsize in wrong place, moved it up 1 line.
r15622
Updated by Anchi Cheng over 13 years ago
- Status changed from In Code Review to In Test
- Assignee changed from Anchi Cheng to Arne Moeller
code is good
Updated by Arne Moeller over 13 years ago
found 2 things:
the wrapper is not in front of the command - in just show command
2nd
encountered these bugs:
... Pixel size: 1.64
... reading filtered image from mrc file
... writing peak JPEG: /ami/data00/appion/10aug27a/extract/manrun39/jpgs/10aug27a_00023gr_00006sq_v01_00004hl_v01_00003en.prtl.jpg
Traceback (most recent call last):
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 646, in ?
imgLoop.run()
File "/ami/sw/packages/myamitrunk/appion/appionlib/appionLoop2.py", line 70, in run
results = self.loopProcessImage(imgdata)
File "/ami/sw/packages/myamitrunk/appion/appionlib/particleLoop2.py", line 104, in loopProcessImage
self.peaktree = filterLoop.FilterLoop.loopProcessImage(self, imgdata)
File "/ami/sw/packages/myamitrunk/appion/appionlib/filterLoop.py", line 87, in loopProcessImage
peaktree = self.processImage(imgdata, self.filtarray)
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 417, in processImage
peaktree = self.runManualPicker(imgdata)
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 619, in runManualPicker
anyangles = reduce(operator.or_, haveangles)
TypeError: reduce() of empty sequence with no initial value
... writing peak JPEG: /ami/data00/appion/10aug27a/extract/manrun39/jpgs/10aug27a_00023gr_00006sq_v01_00002hl_v01_00015en.prtl.jpg
Traceback (most recent call last):
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 646, in ?
imgLoop.run()
File "/ami/sw/packages/myamitrunk/appion/appionlib/appionLoop2.py", line 70, in run
results = self.loopProcessImage(imgdata)
File "/ami/sw/packages/myamitrunk/appion/appionlib/particleLoop2.py", line 104, in loopProcessImage
self.peaktree = filterLoop.FilterLoop.loopProcessImage(self, imgdata)
File "/ami/sw/packages/myamitrunk/appion/appionlib/filterLoop.py", line 87, in loopProcessImage
peaktree = self.processImage(imgdata, self.filtarray)
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 417, in processImage
peaktree = self.runManualPicker(imgdata)
File "/ami/sw/packages/myamitrunk/appion/bin/manualpicker.py", line 619, in runManualPicker
anyangles = reduce(operator.or_, haveangles)
TypeError: reduce() of empty sequence with no initial value
[moeller@amibox02 ~]$
which caused manpicker to crash
Updated by Anchi Cheng almost 9 years ago
- Status changed from In Test to Closed
- Target version changed from Appion/Leginon Future Version to Appion/Leginon 3.1.0