[chimera-dev] regd error when opening a .mrc file

Sandeep N Seshadri sandeep at nmsu.edu
Wed Jun 30 20:33:12 PDT 2004


i am getting the following error when i try to open a .mrc file . i generated a
.pdb file and use a pdb2mrc to generate a .mrc file . i tried opening the .pdb
file it works fine but when i try to open the .mrc file it gives the error. 

if anyone has any idea on why this error occurs please let me know

thanks 
sandeep





Error while processing test-helix.mrc:
ZeroDivisionError: float division
(see reply log for Python traceback info)
Traceback (most recent call last):
  File "/home/sandeep/chimera/share/__main__.py", line 56, in ?
    value = chimeraInit.init(sys.argv)
  File "/home/sandeep/chimera/share/chimeraInit.py", line 275, in init
    prefixableType=1)
  File "/home/sandeep/chimera/share/chimera/__init__.py", line 886, in open
    models = func(filename, *args, **kw)
  File "/home/sandeep/chimera/share/VolumeViewer/ChimeraExtension.py", line 30,
in open_cb
    d.add_data_sets([g])
  File "/home/sandeep/chimera/share/VolumeViewer/__init__.py", line 175, in
add_data_sets
    self.redisplay_cb()
  File "/home/sandeep/chimera/share/VolumeViewer/__init__.py", line 459, in
redisplay_cb
    self.show_using_dialog_settings(self.focus_region)
  File "/home/sandeep/chimera/share/VolumeViewer/__init__.py", line 380, in
show_using_dialog_settings
    tp.update_histograms(data_region)
 File "/home/sandeep/chimera/share/VolumeViewer/__init__.py", line 1142, in
update_histograms
    cw.update_histogram(data_region, read_matrix, self.dialog.message)
  File "/home/sandeep/chimera/share/VolumeViewer/__init__.py", line 1465, in
update_histogram
    h.show_data(Numeric.log(s.counts + 1))
  File "/home/sandeep/chimera/share/VolumeViewer/histogram.py", line 26, in
show_data
    hscale = float(cheight) / max_height
ZeroDivisionError: float division


More information about the Chimera-dev mailing list