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

Better support for enum JParameters #318

Open
nathanwbrei opened this issue Jul 16, 2024 · 0 comments
Open

Better support for enum JParameters #318

nathanwbrei opened this issue Jul 16, 2024 · 0 comments

Comments

@nathanwbrei
Copy link
Collaborator

nathanwbrei commented Jul 16, 2024

Currently users need to implement their own Parse and Stringify methods for each enum type they define. As a result, JANA2 enum parameters are inconsistent. Some enums are serialized as strings, others as ints, and still others as both; then they may be parsed with varying levels of tolerance for case sensitivity, stringiness, or integerness.

@sebouh137

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