Project

General

Profile

Actions

Bug #1121

closed

imgreport.php exposure time has no unit

Added by Anchi Cheng over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
myamiweb
Target version:
-
Start date:
01/04/2011
Due date:
% Done:

0%

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

Description

The float number in ms ( non-SI) is not formatted to show the unit

Actions #1

Updated by Anchi Cheng over 13 years ago

  • 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:
  1. 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.
  2. 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.
Actions #2

Updated by Eric Hou over 13 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Eric Hou to Amber Herold
Actions #3

Updated by Amber Herold about 10 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF