Bug #1121
closed
imgreport.php exposure time has no unit
Added by Anchi Cheng almost 14 years ago.
Updated over 10 years ago.
Affected Version:
Appion/Leginon 2.1.0
Description
The float number in ms ( non-SI) is not formatted to show the unit
- Category set to myamiweb
- Status changed from Assigned to In Code Review
- Assignee changed from Anchi Cheng to Eric Hou
r15220 adds formatExposuretime function and use it in imgreport.php and getpresets.php Also debug getpresets.php so that it does not show exposure time unless it can be found and is asked for by adding the line $p[] = 'exposure time'; The option to display exposure time is rarely used in the viewer but I add it for completeness.
testing:
- visit myamiweb and view any image, click on i to see imgreport.php. The exposure time, if available, should show ms at the end and is truncated to 1 digit after decimal point.
- add the line $p[]='exposure time' to getpresets.php with other definitions. The exposure time, if available, should show with ms as unit in the same line as mag, defocus, etc. on top of the image in the viewer.
- Status changed from In Code Review to In Test
- Assignee changed from Eric Hou to Amber Herold
- Status changed from In Test to Closed
Also available in: Atom
PDF