Skip to content

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

@tenoriomaria

Description

@tenoriomaria

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions