Actions
Bug #3161
closedjeolconfig.py does not read different level of values consistently among python versions
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/28/2015
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.1.0
Show in known bugs:
No
Workaround:
Description
python 2.6 gives an error when parsing beam_tilt_scale but not python 2.7
Traceback (most recent call last): File "jeolconfig.py", line 135, in <module> print getConfigured() File "jeolconfig.py", line 131, in getConfigured configured = app.parse() File "jeolconfig.py", line 123, in parse self.addHierarchyValue(name,levels,value) File "jeolconfig.py", line 69, in addHierarchyValue self.configured[name][levels[0]][levels[1]]=value KeyError: 'beamtilt_scale'
Actions