forked from PyTables/PyTables
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
Requested updates to merge PyTables PR #893 #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
One call to H5*ARRAYmake() used completely different indentation style.
hdf5 doesn't like that: h5py/h5py#1948 HDFGroup/hdf5@16349c5 > The 'not suitable for filters' message does seem to have been added > in 1.12.1 From the code, it looks like it will refuse to apply any > filters to vlen strings. This patch is based on the assumption that the hdf5 code is *correct*, and indeed fletcher32 shouldn't be used in that vlarrays. But if hdf5 is wrong, then the fix should be their side. It might make sense to apply this to get the tests passing again, even if ultimately hdf5 is adjusted too. Fixes PyTables#845.
Add python3.10 classifier
This enables to attach attributes during the assembly of a IsDescription class. Example: ``` class TableLayout(tables.IsDescription): freq = tables.Float32Col( attrs={"val": 13.3, "unit": "Hz", "description": "Ref. freq"}) ```
…l_attrs This registers the Col._v_col_attrs in the ColumnAttributeSet and stores them as table attributes. This way column attributes set in the IsDescription assembly are propagated to the Column attributes.
Otherwise the attributes are only build when the column is used directly for attribute assignment. This then does not store the attributes inserted in the IsDescription class.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I added the requested changes from @avalentino in the PyTables PR PyTables#893.
Maybe you could have a quick look if that's what you had in mind?