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
Hi! Thanks for your library, I'm now using it to parse a DBC file and discovered that almost all the numeric values are all parsed as strings.
The values for start_bit and sig_len are parsed correctly as integers, but factor, offset, min and max are all str type. I think the reason for this is that these values can be either floats or integers. One way to dynamically select between the two would be to check if the value has a dot:
Hi! Thanks for your library, I'm now using it to parse a DBC file and discovered that almost all the numeric values are all parsed as strings.
The values for
start_bit
andsig_len
are parsed correctly as integers, butfactor
,offset
,min
andmax
are allstr
type. I think the reason for this is that these values can be either floats or integers. One way to dynamically select between the two would be to check if the value has a dot:The text was updated successfully, but these errors were encountered: