Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added new PDBContainer methods #38

Merged
merged 5 commits into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
* Cleaned up the `Database` class.
* Ensure that all content written to the .csv files is also written to the .hdf5 file.
* Pass the `"logger"` group directly to the `hdf5_log` functions.
* Added `prop_to_dataframe()`, a function for converting property Datasets into DataFrames.
* Added set-based methods to `PDBContainer`: `.union()`, `.intersection()`,
`.difference()` & `.symmetric_difference()`.
* Added `PDBContainer.concatenate()`.


0.4.0
Expand Down
12 changes: 10 additions & 2 deletions dataCAT/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from .df_proxy import DFProxy
from .property_dset import (create_prop_group, create_prop_dset, update_prop_dset,
validate_prop_group)
validate_prop_group, prop_to_dataframe)
from .hdf5_log import create_hdf5_log, update_hdf5_log, reset_hdf5_log, log_to_dataframe
from .pdb_array import PDBContainer
from .context_managers import OpenLig, OpenQD
Expand All @@ -29,11 +29,19 @@

__all__ = [
'CAT_VERSION', 'NANOCAT_VERSION', 'DATACAT_VERSION',

'functions', 'testing_utils', 'dtype', 'create_database',

'create_hdf5_log', 'update_hdf5_log', 'reset_hdf5_log',
'create_prop_group', 'create_prop_dset', 'update_prop_dset', 'validate_prop_group',

'create_prop_group', 'create_prop_dset', 'update_prop_dset',
'validate_prop_group', 'prop_to_dataframe',

'DFProxy',

'PDBContainer',

'OpenLig', 'OpenQD',

'Database',
]
Loading