Project

General

Profile

Actions

Bug #2320

closed

Mask radius for refinements confuse pixels and angstroms

Added by Amber Herold over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
Web interface
Target version:
Start date:
04/08/2013
Due date:
% Done:

0%

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

Description

From beginning to end when running and uploading a refinement, we switch back and forth from pixels and angstroms which has caused the incorrect values to be used.

Moving forward,
  1. All web GUI display of mask sizes will be in angstroms.
  2. When launching a refinement on the python side, it takes angstroms.
  3. When uploading a refinement, we save the size as pixels relative to the original stack (rather than the stack created for refinement).
  4. The Frealign refinement takes the mask in angstroms.
  5. The xmipp and Eman refines take pixels.
Actions #1

Updated by Amber Herold over 11 years ago

r17495 makes changes to web gui and python launch file.
Still need to make changes to Upload to ensure mask sizes are in terms of pixels relative to the original stack box size, in uploadFrealignRefine.py, etc.
May need to pass the parent_apix and parent_boxsize from the web GUI, but better to keep it on python side.

Actions #2

Updated by Anchi Cheng over 11 years ago

Hi, Amber,

I thought we found out that python code takes Angstrom. The help string was incorrect, since the parameters in apRefineJobXmipp were converting all radius from Angstrom to pixel, and apRefineJobFrealign did not do any conversion.

Actions #3

Updated by Amber Herold over 11 years ago

That is correct, I miss typed it here. Too much confusion! I changed the help text to angstrom instead of pixel in the last revision, and will update the original issue text to match.

Actions #4

Updated by Amber Herold over 11 years ago

r17500 should fix xmipp and frealign upload. I have not been able to fully test it yet. May also need to do multi model refine and eman.

Actions #5

Updated by Anchi Cheng over 11 years ago

Found apRefineJobEMAN not converting from Angstrom input of the python script to pixel in the eman script input. r17755 fixed this.

Checked the upload and import mask of eman runs without binning in preparation. It looked good. Still need to check the binned one.

Actions #6

Updated by Amber Herold almost 11 years ago

  • Status changed from Assigned to In Code Review
Actions #7

Updated by Amber Herold over 10 years ago

  • Status changed from In Code Review to Closed
  • Affected Version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.2.0
Actions

Also available in: Atom PDF