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

fix a broken load_name in data sample metadata #3121

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Mar 10, 2021

PR Summary

import yt
yt.load_sample("CfRadialGrid")

fails with

FileNotFoundError

This fixes it.
Note that this particular dataset still doesn't load (YTUnidentifiedDataType). I believe it was added in support to #1990 which is still in the shop.

I except this will fail the same way #3118 does: the hash probably needs to be updated as well.
edit: nope. Must be a problem with changing the type (from null to str) of the field, which is not a concern here.

@neutrinoceros neutrinoceros added bug infrastructure Related to CI, versioning, websites, organizational issues, etc labels Mar 10, 2021
Copy link
Contributor

@chrishavlin chrishavlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thanks for the quick fix!

@matthewturk matthewturk merged commit 35ea2f4 into yt-project:main Mar 11, 2021
@neutrinoceros neutrinoceros deleted the hotfix_sample_metadata branch March 11, 2021 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug infrastructure Related to CI, versioning, websites, organizational issues, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants