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

feat: update pifm.py for 'new' reader rules #124

Closed nsulmol closed 5 months ago

nsulmol commented 6 months ago

The new pycroscopy has switched from Translators to Readers. We no longer save files in USID or NSID format in order to translate, but rather translate while reading from the file. The user can choose to save a given sidpy dataset into USID or NSID format after-the-fact, via those libraries.

Here, we update the pifm module to match this new standard. As such, we remove the pyNSID dependencies and the write/create methods which use them.

nsulmol commented 6 months ago

Hi all,

I'm not sure if this is the best approach to get pifm up-to-date, but I took a stab at it. It looks to me like all the failures are due to tests independent of my changes.

Let me know what you think.

Thanks, Nick