]> git.parisson.com Git - timeside.git/commitdiff
fix(tools/buffering.py): provide compatibility with pytables 2.3.1 (debian package)
authorThomas Fillon <thomas@parisson.com>
Thu, 17 Jul 2014 07:58:40 +0000 (09:58 +0200)
committerThomas Fillon <thomas@parisson.com>
Thu, 17 Jul 2014 07:58:40 +0000 (09:58 +0200)
.travis.yml
README.rst
timeside/tools/buffering.py

index c62fd64fb6ff5a0dd189cd2da88ad3f424fcf467..95a619d39b04f7f0bc36a1c5f16e01dd40694121 100644 (file)
@@ -10,13 +10,12 @@ before_install:
  - sudo apt-get -qq update
  - sudo apt-get install python-setuptools
  - sudo apt-get install -qq python-numpy python-scipy python-matplotlib
- - sudo apt-get install -qq libhdf5-serial-dev python-h5py 
+ - sudo apt-get install -qq libhdf5-serial-dev python-h5py python-tables
  - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad
 
 # command to install dependencies
 install: 
 # - "pip install -r requirements.txt --use-mirrors"
-- sudo pip install numexpr
 - python setup.py install
 
 
index 5b0a1170006f7702df90659e868a7e85ba6d7d6a..3574305ade0b4aa50f22a805459e45009728397e 100644 (file)
@@ -292,7 +292,7 @@ Dependencies
 Needed::
 
  python (>=2.7) python-setuptools python-numpy python-scipy python-h5py python-matplotlib python-imaging
- python-simplejson python-yaml python-mutagen libhdf5-serial-dev python-numexpr python-gst0.10
+ python-simplejson python-yaml python-mutagen libhdf5-serial-dev python-tables python-gst0.10
  gstreamer0.10-gnonlin gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly
 
 Optional::
index f0e8320591eba54e8e6234f768b7a6d39f26b2c7..b3b913f125d788bfe296247ce5e571b9ae83b192 100644 (file)
@@ -29,7 +29,7 @@ class BufferTable(object):
         self._tempfile = NamedTemporaryFile(mode='w', suffix='.h5',
                                             prefix='ts_buf_',
                                             delete=True)
-        self.fileh = tables.open_file(self._tempfile.name, mode='w')
+        self.fileh = tables.openFile(self._tempfile.name, mode='w')
 
         if not array_names:
             array_names = []