Project

General

Profile

pyAce2 bug

Added by Jason van Rooyen over 10 years ago

Hi,

I noticed the following error returned from pyace2 in Myami 3.0:

"File "/usr/local/bin/appion/pyace2.py", line 79, in reprocessImage
if conf > self.params['reprocess']:
NameError: global name 'conf' is not defined"

Amending the offending line to read: "ctfvalue,conf = ctfdb.getBestCtfByResolution(imgdata, msg=False)"
and replacing "return bestctfvalue" with "return (bestctfvalue,conf)" in ctfdb.py seemed to fix it.

Regards,
Jason