AFM-analysis / PyJibe

GUI for AFM data analysis with an emphasis on biological specimens
https://pyjibe.readthedocs.io
GNU General Public License v3.0
11 stars 6 forks source link

Importing the extracted ibw files from a force map (*.ARDF) not working #26

Open tenoriomaria opened 2 years ago

tenoriomaria commented 2 years ago

Hi, I am working with Asulym Research AFM and PyJibe. The data I acquire are maps of force-distance curves, that are generated into a .ARDF format. From the Asylum Research program I can extract each force-distance curve individually into .ibw files, in order to analyze them with PyJibe afterwards. However, and opposite to what happens to 'standard' *.ibw files, which I successfully open, I cannot import the extracted force-distance curves of this force map into PyJibe. The error bellow appears. Thanks in advance!

Unhandled exception in PyJibe version 2022.01.08.post21: Traceback (most recent call last): File "/Users/maria/Downloads/PyJibe-master/pyjibe/head/main.py", line 286, in on_open_single self.load_data(files=n, retry_open=self.on_open_single) File "/Users/maria/Downloads/PyJibe-master/pyjibe/head/main.py", line 149, in load_data self.add_subwindow(aclass, flist) File "/Users/maria/Downloads/PyJibe-master/pyjibe/head/main.py", line 156, in add_subwindow inst.add_files(flist) File "/Users/maria/Downloads/PyJibe-master/pyjibe/fd/main.py", line 223, in add_files user_metadata=user_metadata) File "/Users/maria/Downloads/PyJibe-master/pyjibe/fd/main.py", line 122, in load_file grp = nanite.IndentationGroup(path, callback=callback) File "/Users/maria/opt/anaconda3/envs/pyjibe/lib/python3.7/site-packages/nanite/group.py", line 61, in init **get_load_data_modality_kwargs() File "/Users/maria/opt/anaconda3/envs/pyjibe/lib/python3.7/site-packages/afmformats/afm_group.py", line 43, in init data_classes_by_modality=data_classes_by_modality File "/Users/maria/opt/anaconda3/envs/pyjibe/lib/python3.7/site-packages/afmformats/formats/init.py", line 257, in load_data meta_override=meta_override): File "/Users/maria/opt/anaconda3/envs/pyjibe/lib/python3.7/site-packages/afmformats/formats/fmt_igor.py", line 72, in load_igor metadata["date"] = notes["Date"] KeyError: 'Date'

paulmueller commented 2 years ago

Hi there, could you please attach such an .ibw file (you will probably have to zip it)? You should be able to just drag-and-drop it in.

tenoriomaria commented 2 years ago

Line0000Point0000.ibw.zip Here you have! Thanks a lot!

nnkkdtc commented 2 months ago

Could you tell me if a force map (*.ARDF) can be loaded? If yes, please tell me how to load the file.