Project

General

Profile

makegoodaverages.py fails

Added by Jason van Rooyen over 9 years ago

Hi,

I can successfully run refinements (EMAN) using the appion web interface and the results can be uploaded and displayed without a problem.

However, when I try to remove class-jumpers I get the following error:

Command: makegoodaverages.py --reconid=1 --iter=5 --mask=29 --hard=25 --stackname=goodavgs.hed --make3d=threed.mrc --zoom=1.2 --mass=960 --avgjump=35 --eotest --rundir=/myami_data/MYAMI/APPION/14jul17y/recon/eman_recon12/EMAN_results/eulers/refine5_14aug22n09 --runname=refine5_14aug22n09 --projectid=7 --expid=20 --jobtype=makegoodavg

Error:
File "/usr/local/bin/appion/makegoodaverages.py", line 428, in <module>
makegood = makeGoodAveragesScript()
File "/usr/local/lib/python2.7/dist-packages/appionlib/appionScript.py", line 103, in init
self.uploadScriptData()
File "/usr/local/lib/python2.7/dist-packages/appionlib/appionScript.py", line 253, in uploadScriptData
progrunq['job'] = self.getClusterJobData()
File "/usr/local/lib/python2.7/dist-packages/appionlib/appionScript.py", line 193, in getClusterJobData
clustq['session'] = self.getSessionData()
File "/usr/local/lib/python2.7/dist-packages/appionlib/appionScript.py", line 163, in getSessionData
sessiondata = apDatabase.getSessionDataFromSessionName(self.params['sessionname'])
File "/usr/local/lib/python2.7/dist-packages/appionlib/apDatabase.py", line 160, in getSessionDataFromSessionName
apDisplay.printMsg("Looking up session, "+sessionname)
TypeError: cannot concatenate 'str' and 'SessionData' objects

This error repeats itself for different reconstructions (different data sets) and on different systems (python 2.6 and 2.7).

I would appreciate any thoughts on what may be going wrong.

Thanks,
Jason


Replies (1)

RE: makegoodaverages.py fails - Added by Anchi Cheng over 9 years ago

Jason,

Sorry for the delay. I've reproduced the bug here and fixed it.

It is committed in 3.0, 3.1 and trunk version of the appion package, not sure which one you use. Issue #2917 The change is in one file so you can either replace the file directly or do a general update

    (1-1/1)