Skip to content
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
merged 41 commits into from Jan 10, 2023

Conversation

mennthor
Copy link

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?

  • Rebased to current PyTables master
  • Added Col Class Attributes
  • Added unit tests
  • Added documentation in py docstrings and sphinx rst docs

zequihg50 and others added 30 commits December 16, 2021 23:15
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
xmatthias and others added 11 commits December 16, 2021 23:15
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.
@jondoesntgit jondoesntgit merged commit d07eef2 into jondoesntgit:master Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet