Project

General

Profile

Actions

Bug #4198

closed

mathdomain error in printSummary of imageloader.py after a few uploads

Added by Anchi Cheng over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/23/2016
Due date:
% Done:

0%

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

Description

Happened during upload.

Actions #1

Updated by Anchi Cheng over 8 years ago

  • Subject changed from mathdomain error in printSummary of appinLoop to mathdomain error in printSummary of imageloader.py after a few uploads

Appears to getting negative number in square root calculation

Traceback (most recent call last):
  File "/home/acheng/myami/appion/bin/imageloader.py", line 6, in <module>
    app.run()
  File "/home/acheng/myami/appion/appionlib/apImageUpload.py", line 289, in run
    self._printSummary()
  File "/home/acheng/myami/appion/appionlib/appionLoop2.py", line 677, in _printSummary
    timestdev = math.sqrt(float(count*timesumsq - timesum**2) / float(count*(count-1)))
ValueError: math domain error

Actions #2

Updated by Anchi Cheng almost 7 years ago

  • Status changed from Assigned to Closed

works.

Actions

Also available in: Atom PDF