Project

General

Profile

Actions

Feature #1307

closed

include cs value for appionTEM when uploading image

Added by Anchi Cheng over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
-
Target version:
-
Start date:
05/19/2011
Due date:
% Done:

0%

Estimated time:

Description

Need this to get rid of hard configured cs value so that cs can be different for different tem to complete #287


Related issues 2 (0 open2 closed)

Related to Appion - Bug #1495: can not add more images to a session with imageloader.pyClosedAmber Herold12/05/2011

Actions
Blocks Leginon - Feature #287: Move the default CS variable from Processing_config to the Leginon Database instrument configClosedAmber Herold03/31/2010

Actions
Actions #1

Updated by Anchi Cheng over 13 years ago

  • Subject changed from include cs value for appionTEM when upload image to include cs value for appionTEM when uploading image
  • Status changed from New to In Code Review
  • Assignee changed from Anchi Cheng to Amber Herold

r15649 does this.

A new appionTEM is created for each distinct cs value.

I've updated our dbemdata to give all existing TEMs that were used the default 2.0e-3 m Cs value. However, if someone uses the old php and python script to upload, that will create an appionTEM that has no Cs value. For the time being, we will have to update our local dbemdata after the mixed use by adding in the Cs values for those until we can retire the old version floating around locally.

Testing:
1. goto myamiweb/processing/uploadimage.php of a new test session
2. enter a Cs value between 0.1 and 5 as the test Cs value and upload at least one image.
3. check dbemdata in InstrumentData, a new AppionTEM should show up if AppionTEM with the Cs value did not exist. If the Cs has been used, no new instrument should appear.

Actions #2

Updated by Amber Herold over 13 years ago

Code looks good.
Will test tomorrow when betamyamiweb is updated.

Actions #3

Updated by Amber Herold over 13 years ago

  • Status changed from In Code Review to In Test
Actions #4

Updated by Amber Herold over 12 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF