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
It was observed that the new data aggregator version stores strings in the RUN section (specifically, classId came up) as arrays of one element of type bytes. This means that using get_run_value returns something like array([b'some string']) instead of a simple string.
In case this behavior is here to stay, it would be nice to have get_run_value handle getting and decoding the actual string automatically. Would of course need some backwards compatibility; see the hotfix documented in the EXtra-redu repository.
The text was updated successfully, but these errors were encountered:
Conceptually, the point of RUN values is that they represent a single value per data collection and are hence scalar with respect to the train axis. While there are already fake arrays in METADATA, we can fortunately hide most of these.
Trivial file format changes like these are frustrating for users. Unless there is a strong reason for this change, we should really avoid them. While EXtra-data is used by most users, it's not obligatory and we pretend to offer a stable file format.
It was observed that the new data aggregator version stores strings in the RUN section (specifically,
classId
came up) as arrays of one element of typebytes
. This means that usingget_run_value
returns something likearray([b'some string'])
instead of a simple string.In case this behavior is here to stay, it would be nice to have
get_run_value
handle getting and decoding the actual string automatically. Would of course need some backwards compatibility; see the hotfix documented in the EXtra-redu repository.The text was updated successfully, but these errors were encountered: