{9} incompatibility of benchmark_hdf5 with pytable2
- source:trunk/test/benchmark_hdf5.py
Step 3 : initialisation of benchmark Step 4 : runs benchmark /usr/local/lib/python2.5/site-packages/NeuroTools/test/poisson_benchmark.h5 (File) 'benchmarking hdf5 files.' Last modif.: 'Fri May 4 19:05:02 2007' Object Tree: / (RootGroup) 'benchmarking hdf5 files.' /BenchMark_CUM (AdvancedTable(24L,)) 'benchmark data CUM.' /BenchMark_ISI (AdvancedTable(24L,)) 'benchmark data ISI.' Step 5 : analyze benchmark with filesize Traceback (most recent call last): File "benchmark_hdf5.py", line 436, in <module> poisson_benchmark.analyze_filesize() File "benchmark_hdf5.py", line 232, in analyze_filesize result_cum = benchmark.query(node._v_pathname, (condition_cum == level)) File "/usr/local/lib/python2.5/site-packages/NeuroTools/FileExtension.py", line 901, in query result = table.query(condition)#, flavor = flavor) File "/usr/local/lib/python2.5/site-packages/NeuroTools/AdvancedTable.py", line 44, in query index = self.getWhereList(condition)#, flavor = flavor) File "/usr/local/lib/python2.5/site-packages/tables/table.py", line 1331, in getWhereList condvars = self._requiredExprVars(condition, condvars) File "/usr/local/lib/python2.5/site-packages/tables/table.py", line 950, in _requiredExprVars if not expression in self._exprvarsCache: TypeError: unhashable type: 'numpy.ndarray' Closing remaining open files: /usr/local/lib/python2.5/site-packages/NeuroTools/test/poisson_benchmark.h5... done /tmp/poisson_simulation.h5... done [perrinet@master0 test]$
Note: See TracReports for help on using and
creating reports.

