Project

General

Profile

Actions

Bug #2579

closed

export of ctf data

Added by David Veesler over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/07/2013
Due date:
% Done:

0%

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

Description

When trying to download the ctf data from the web interface, I am missing the column with the values for the estimated astigmatism both using longboard/betamyamiweb and longboard/myamiweb. I also tried with cronus3 but I am getting a php error likely related to the display:

Warning: str_pad() expects parameter 4 to be long, string given in /usr/local/myami-trunk/myamiweb/processing/downloadctfdata.php on line 34 Warning: str_pad() expects parameter 4 to be long, string given in /usr/local/myami-trunk/myamiweb/processing/downloadctfdata.php on line 34 Warning: str_pad() expects parameter 4 to be long, string given in /usr/local/myami-trunk/myamiweb/processing/downloadctfdata.php on line 34

I can see the values appended at the end of the error message though but without formatting.
Anchi, is this possible for you to fix that without taking to much of your time please?
Thanks a lot

Actions #1

Updated by Anchi Cheng over 10 years ago

  • Status changed from New to In Code Review
  • Assignee changed from Anchi Cheng to Neil Voss
  • Target version set to Appion/Leginon 3.0.0
  • Affected Version changed from Appion/Leginon 2.1.0 to Appion/Leginon 3.0.0

This is an old bug exists since r16706. STR_PAD_LEFT is a pad type not as a string. I also added an extra length to allow -180.000 if ever occur.
I don't understand, though why we use str_pad at all. This could be achieved with %9.3f

Actions #2

Updated by Neil Voss almost 10 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Neil Voss to David Veesler

OK, by me.

Actions #3

Updated by Anchi Cheng over 8 years ago

  • Status changed from In Test to Closed
  • Target version changed from Appion/Leginon 3.0.0 to Appion/Leginon 3.1.0
Actions

Also available in: Atom PDF