cannot open lsm file from Zeiss 710 microscope

Bug #1746385 reported by Sahar Pirmoradain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyLSM
New
Undecided
Unassigned

Bug Description

When I try to open lsm file, using:

image_file = lsmreader.Lsmimage(lsmfile)
image_file.open()

I get the following error:

---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-10-1a7c9aa28243> in <module>()
      1 lsmfile = '/Users/sahar/Documents/Academics/Research/TianLab/ImageAnalysis/20xTS_50Hz_spont.lsm'
      2 image_file = lsmreader.Lsmimage(lsmfile)
----> 3 image_file.open()

/Users/sahar/anaconda2/lib/python2.7/site-packages/pylsm/lsmreader.pyc in open(self)
     93 while im_offset:
     94 tmp_header = lsmparse.read_image_header(__fid, im_offset)
---> 95 if tmp_header['New Subfile Type']:
     96 self.header['Thumbnail'].append(tmp_header)
     97 else:

KeyError: 'New Subfile Type'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.