Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

nsulmol
Copy link
Contributor

@nsulmol nsulmol commented Apr 2, 2024

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.

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
Copy link
Contributor Author

nsulmol commented Apr 2, 2024

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

@ramav87 ramav87 merged commit 48ac424 into pycroscopy:main Apr 12, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants