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 Python Data_Order #850

Merged
merged 1 commit into from
Dec 20, 2020
Merged

Fix Python Data_Order #850

merged 1 commit into from
Dec 20, 2020

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Dec 18, 2020

The Data_Order enum in python and thus Mesh::data_order are broken due to an upstream bug in pybind11 with non-int enums: pybind/pybind11#1820

Replace the setter and read-only property with a unified property and remove the enum for the sake of simplicity (just compare to a char in popular Python "enums are strings, better spell it right"-manner).

@ax3l ax3l changed the title Fix & Replace Python Data_Order Fix Python Data_Order Dec 18, 2020
The `Data_Order` enum in python and thus `Mesh::data_order` are
broken due to an upstream bug in pybind11 with non-int enums.

Replace the setter and read-only property with a unified property
and remove the enum for the sake of simplicity (just compare to a
char in popular Python "enums are strings, better spell it right"-
manner).
@ax3l ax3l merged commit 11f0134 into openPMD:dev Dec 20, 2020
@ax3l ax3l deleted the fix-pyDataOrder branch December 20, 2020 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant