Skip to content

Commit

Permalink
Fix pd.get_store() deprecation and add pytables dependency as a result
Browse files Browse the repository at this point in the history
  • Loading branch information
rbnvrw committed Apr 9, 2019
1 parent 90190f2 commit dd87cd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
author_email = "[email protected]",
url = "https://github.com/soft-matter/trackpy",
install_requires = ['numpy>=1.8', 'scipy>=0.12', 'six>=1.8',
'pandas>=0.13', 'pyyaml', 'matplotlib'],
'pandas>=0.13', 'pyyaml', 'matplotlib',
'tables'],
packages = ['trackpy', 'trackpy.refine', 'trackpy.linking'],
long_description = descr,
)
Expand Down
2 changes: 1 addition & 1 deletion trackpy/framewise_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def __init__(self, filename, key='FrameData', mode='a', t_column='frame',
self._t_column = t_column
self.store = pd.HDFStore(self.filename, mode, **kwargs)

with pd.get_store(self.filename) as store:
with pd.HDFStore(self.filename) as store:
try:
store[self.key]
except KeyError:
Expand Down

0 comments on commit dd87cd3

Please sign in to comment.