pycroscopy / SciFiReaders

Tools for extracting data and metadata from scientific data files
https://pycroscopy.github.io/SciFiReaders/about.html
MIT License
13 stars 13 forks source link

Unable to read *ibw files with IgorIBWReader #84

Closed tenoriomaria closed 1 year ago

tenoriomaria commented 2 years ago

Hi there,

I am trying to read my *ibw files with SciFiReaders library. This is my code:

import SciFiReaders as sr reader = sr.IgorIBWReader('/path_to_file/file.ibw') reader.read()

And this is the output:

----> 4 reader.read()

~/opt/anaconda3/envs/pycroscopy/lib/python3.7/site-packages/SciFiReaders/readers/microscopy/spm/afm/igor_ibw.py in read(self, verbose, parm_encoding) 45 46 # Load the ibw file first ---> 47 ibw_obj = bw.load(file_path) 48 ibw_wave = ibw_obj.get('wave') 49 parm_dict = self._read_parms(ibw_wave, parm_encoding)

AttributeError: 'NoneType' object has no attribute 'load' file.ibw.zip

Thanks a lot in advance!

ramav87 commented 2 years ago

It could be you don't have Igor installed? Can you run pip install Igor in the terminal and then restart the notebook and try again?

ramav87 commented 1 year ago

Closing.