Feature #1307
closedinclude cs value for appionTEM when uploading image
0%
Description
Need this to get rid of hard configured cs value so that cs can be different for different tem to complete #287
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.
Updated by Amber Herold over 13 years ago
Code looks good.
Will test tomorrow when betamyamiweb is updated.
Updated by Amber Herold over 13 years ago
- Status changed from In Code Review to In Test