Skip to content

Commit

Permalink
Merge pull request #31 from OpenPTV/updateTables
Browse files Browse the repository at this point in the history
PyTables migrated from CamelCase to _underscore
  • Loading branch information
alexlib authored Sep 11, 2018
2 parents f5929a8 + bcbc3b7 commit 81f27cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flowtracks/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ def trajectories_table(fname, first=None, last=None):
Returns:
trajects - a list of Trajectory objects, each trimmed to the frame range.
"""
outfile = tables.openFile(fname, mode='r')
table = outfile.getNode('/particles')
outfile = tables.open_file(fname, mode='r')
table = outfile.get_node('/particles')

query_string = ('(trajid == trid)')
if first is not None:
Expand Down

0 comments on commit 81f27cd

Please sign in to comment.