Project

General

Profile

Actions

Bug #3995

closed

polishStack.py fails if expperframe and expweight are noneType

Added by Carl Negro over 8 years ago. Updated almost 7 years ago.

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

0%

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

Description

If expweight and expperframe are not specified, expperframe is noneType instead of float, which causes an error at the line

f.write("expperframe=%.3f\n" % self.params['expperframe'])

Added a check so that f.write("expperframe... only executes if expperframe is data type float.

Actions

Also available in: Atom PDF