You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes. If enums are used as parameters of algorithms, JANA converts the parameters to integers and then into strings. It is therefore necessary to create code like this, as merged in PR #1502 , which compares string parameters to string representations of integers, like this:
Describe the solution you'd like
Something that causes these enum constants to be converted to human-intelligible strings instead of string representations of integers
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
@nathanwbrei Maybe you're interested in this. Despite a dedicated ostream operator which should make this satisfy is_serializable with precendence over the underlying_type, we are still seeing enums go to integer string representation.
Is your feature request related to a problem? Please describe.
Yes. If enums are used as parameters of algorithms, JANA converts the parameters to integers and then into strings. It is therefore necessary to create code like this, as merged in PR #1502 , which compares string parameters to string representations of integers, like this:
EICrecon/src/algorithms/calorimetry/ImagingTopoClusterConfig.h
Line 42 in 2413820
Describe the solution you'd like
Something that causes these enum constants to be converted to human-intelligible strings instead of string representations of integers
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: