Project

General

Profile

Actions

Bug #533

open

Download map from EMDB does not work for certain model

Added by Pick-Wei Lau over 14 years ago. Updated over 14 years ago.

Status:
In Test
Priority:
Normal
Assignee:
Category:
Python scripting
Target version:
Start date:
05/21/2010
Due date:
% Done:

100%

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

Description

I tried downloading different models:

My dicer model EMD-1646 gave this error

... retrieving emdb XML file: ftp://ftp.ebi.ac.uk/pub/databases/emdb/structures/EMD-1646/header/emd-1646.xml

Traceback (most recent call last):
File "/opt/appion/bin/modelFromEMDB.py", line 207, in ?
emdbmodel.start()
File "/opt/appion/bin/modelFromEMDB.py", line 179, in start
self.getXMLInfoFromEMDB(self.params['emdbid'])
File "/opt/appion/bin/modelFromEMDB.py", line 98, in getXMLInfoFromEMDB
apDisplay.printMsg("file has a pixel size of .3f A/pix"(apix))
UnboundLocalError: local variable 'apix' referenced before assignment

Actions #1

Updated by Neil Voss over 14 years ago

  • Category set to Python scripting
  • Target version set to Appion/Leginon 2.0.0
Actions #2

Updated by Neil Voss over 14 years ago

  • Status changed from New to In Code Review
  • Assignee set to Amber Herold

Made a more robust XML parsing code.

Actions #3

Updated by Amber Herold over 14 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Amber Herold to Pick-Wei Lau
  • % Done changed from 0 to 100
Actions #4

Updated by Pick-Wei Lau over 14 years ago

  • Assignee changed from Pick-Wei Lau to Neil Voss
  • Affected Version set to Appion/Leginon 2.0.1

I'm getting an error with apChimSnapshot

Traceback (most recent call last):
File "/opt/appion/bin/modelFromEMDB.py", line 209, in ?
emdbmodel.start()
File "/opt/appion/bin/modelFromEMDB.py", line 200, in start
apChimera.renderSnapshots(mrcname, contour=1.0, zoom=1.0, sym=self.params['symdata']['eman_name'])
File "/usr/lib64/python2.4/site-packages/appionlib/apChimera.py", line 208, in renderSnapshots
chimsnappath = getSnapPath()
File "/usr/lib64/python2.4/site-packages/appionlib/apChimera.py", line 31, in getSnapPath
apDisplay.printError("Could not find file: apChimSnapshot.py")
File "/usr/lib64/python2.4/site-packages/appionlib/apDisplay.py", line 56, in printError
raise Exception, colorString("\n * FATAL ERROR *\n"+text+"\n\a","red")
Exception:
  • FATAL ERROR ***
    Could not find file: apChimSnapshot.py
Actions #5

Updated by Neil Voss over 14 years ago

  • Assignee changed from Neil Voss to Pick-Wei Lau

You are experiencing Bug #609. Try again or tell Christopher to update the code.

Actions #6

Updated by Pick-Wei Lau over 14 years ago

  • Assignee changed from Pick-Wei Lau to Christopher Irving

I'm getting an error with apChimSnapshot. It might be that the code is not updated yet. Can you look into it?

Actions #7

Updated by Christopher Irving over 14 years ago

  • Assignee changed from Christopher Irving to Pick-Wei Lau
  • Show in known bugs set to No

Guppy and Goby are both running myami 2.0.1 now which is supposed to fix this problem.

-C

Actions

Also available in: Atom PDF