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
The filter pipeline is something that in principle is modifiable outside of the hdf library (and hence outside of pyfive). It's certainly something we need to get at for PyActiveStorage.
The spec says within the filter description:
Field Name
Description
Number of Client Data Values
Each filter can store integer values to control how the filter operates. The number of entries in the Client Data array is stored in this field.
Name
If the Name Length field is non-zero then it will contain the size of this field, not padded to a multiple of eight. This field contains a non-null-terminated, ASCII character string to serve as a comment/name for the filter.Filters that are defined in this format documentation (deflate, shuffle, etc.) do not store the Name Length or Name fields.
Client Data
This is an array of four-byte integers which will be passed to the filter function. The Client Data Number of Values determines the number of elements in the array.
Which clearly suggests we should have an array of these things.
which produces a tupe in the filter_info['client_data'] evn if there is only one, but somewhere this is turned into an integer so we can expect things to break (and they do).
The text was updated successfully, but these errors were encountered:
Oh, for Pete's sake, this is now the consequence of the perfectly correct change we made associated with jjhelmus#66, so the problem is not here at all, it's in the things that made use of the wrong thing from pyfive because we had the wrong thing. Fixed downstream. No problems here.
The filter pipeline is something that in principle is modifiable outside of the hdf library (and hence outside of pyfive). It's certainly something we need to get at for PyActiveStorage.
The spec says within the filter description:
Which clearly suggests we should have an array of these things.
Our current code has this:
which produces a tupe in the filter_info['client_data'] evn if there is only one, but somewhere this is turned into an integer so we can expect things to break (and they do).
The text was updated successfully, but these errors were encountered: