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

Inconsistent data type #40

Open
TLCFEM opened this issue Apr 10, 2024 · 1 comment
Open

Inconsistent data type #40

TLCFEM opened this issue Apr 10, 2024 · 1 comment

Comments

@TLCFEM
Copy link
Collaborator

TLCFEM commented Apr 10, 2024

setattr(sec_scc, 'x_fhi_vibes_%s' % key, val[n_frame])

Different versions of xarray creates datasets with different underlying dtype, setting attribute can potentially raise error if the data type defined in definition and the actual dtype is different.

I have to disable this test:
https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/merge_requests/1774/diffs#cf90c93601cc1361947b6c602a52a03027b6ae6d_42_41

@TLCFEM
Copy link
Collaborator Author

TLCFEM commented Apr 10, 2024

The uuid has a type of str for old xarray. It changes to np.str_ for new xarray versions.

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

No branches or pull requests

1 participant