[Pytables-users] tables.test()

2010-08-31 Thread Jan Strube
Hi, I just came across a post about the failure of tables.test() in v2.2 and above. I must say that I can reproduce the problem on Ubuntu. I'm pretty sure that I didn't have that problem with v2.1. Cheers, Jan PyTables version: 2.2 HDF5 version: 1.6.6 NumPy version: 2.0.0.dev8674 N

Re: [Pytables-users] installation issue with PyTables 2.0.4

2008-08-08 Thread Jan Strube
Hi Milos Traceback (most recent call last): File "", line 1, in File "tables/__init__.py", line 56, in from tables.utilsExtension import getPyTablesVersion, getHDF5Version ImportError: dlopen(tables/utilsExtension.so, 2): Symbol not found: _compress2 Referenced from: /Users/milos/Wo

Re: [Pytables-users] readCoordinates weirdness

2007-09-13 Thread Jan Strube
Coordinates(coords, field) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/table.py", > line 1533, in _readCoordinates > self._read_elements(result, coords) > File "tableExtens

[Pytables-users] readCoordinates weirdness

2007-09-13 Thread Jan Strube
Hello, list, I'm trying to read a couple of entries from a table. I'm on an intel MacBook using pytables 2 with python 2.5 and numpy 1.0.3. The problem is that I pass a numpy array to readCoordinates. That gives me the error message at the end of this mail. casting this array to a python list, how

Re: [Pytables-users] recarray in pytables 2.0

2007-04-06 Thread Jan Strube
Hi Francesc, Hi Jan, Sorry for the delay on answering this. We are pretty busy working in the 2.0 beta2 release. No problem. Looks like it's coming along nicely. Maybe in a future (PyTables 3.0?) we will introduce fully nested Column definitions through the introduction of a more flexible

[Pytables-users] recarray in pytables 2.0

2007-03-21 Thread Jan Strube
Hi pytablers, Before I am going to embark on using pytables2, I would like to know how free I am in choosing the dtype of a column. I would like to store a momentum in my table. Currently in pytables1 I am using something like momentum= Float32Col(shape=3) But now that I know more about nump

Re: [Pytables-users] pytables 2.0 suggestion

2007-03-01 Thread Jan Strube
Hi Ivan, thanks much for the detailed response. I thought the reason why the new where() requires a string is that you already have a parser. Shows you what I know... Like I said, it's only minor and I can certainly get used to the proposed syntax. Please keep up the good work. You save me from

[Pytables-users] pytables 2.0 suggestion

2007-02-28 Thread Jan Strube
Dear givers of the wonderful pytables, I was excited to see your announcement of 2.0 alpha and intend to give it some serious testing soon. However, for now I would like to raise an issue I have with the API proposal. For combined in-kernel searches .where('x<5 & x>3'), I don't think & is a good

Re: [Pytables-users] numpy datatypes

2007-01-16 Thread Jan Strube
7;t have a good testcase handy (my case is 17M), but have you considered unsigned types as well ? When I have some time I try and reduce the test case to something more manageable. Thanks, Jan On 1/11/07, Jan Strube <[EMAIL PROTECTED]> wrote: Hi ! I have a problem with the numpy datatypes and t

Re: [Pytables-users] numpy datatypes fix in 1.4

2007-01-15 Thread Jan Strube
Yes, kind of. It wasn't really broken, just old. I installed the latest Pyrex and it compiles. Thanks. On 1/13/07, Francesc Altet <[EMAIL PROTECTED]> wrote: Hi Jan, El dv 12 de 01 del 2007 a les 16:56 -0800, en/na Jan Strube va escriure: > Hi Francesc, > thanks for fixing th

[Pytables-users] numpy datatypes fix in 1.4

2007-01-12 Thread Jan Strube
Hi Francesc, thanks for fixing this. My use case for this is that I have a couple of tables that share a one-to-many relation. I could use the row number as an index, but that is to fragile for my case. So I have a unique key for each entry in one table, and I select a variable number of rows from

[Pytables-users] numpy datatypes

2007-01-11 Thread Jan Strube
Hi ! I have a problem with the numpy datatypes and the Table.where method. something like for item in numpy_list: print [row for row in table.where(table.cols.item==item)] fails, if numpy_listis a list of numpy integers. Traceback (most recent call last): File "createDisjointSets.py", line 101,

Re: [Pytables-users] Pytables 1.4 problems

2006-12-31 Thread Jan Strube
Well, it's a bit tricky to reproduce, because it is a conversion script from the ROOT file format to pytables. I'll try to reproduce it without the ROOT dependency. For now, maybe the script itself can be of help. convertChain.py reads a ROOT file and attempts to map the pytables structure in Com

[Pytables-users] Pytables 1.4 problems

2006-12-28 Thread Jan Strube
After installing pytables 1.4, I have the following problem: The code has worked without problems in 1.3, so I am quite surprised by this. Please let me know if I can provide additional information that might help shed light on this. Thanks, Jan File "convertChain.py", line 112, in processLam

Re: [Pytables-users] Follow-up on nested structures

2006-08-22 Thread Jan Strube
Hi Francesc, Francesc Altet wrote: > A Dimarts 22 Agost 2006 08:10, Jan Strube va escriure: > >> Oh, and yet another question: >> In my structure, I have scalar and vectorial quantities. How can I >> determine which is which on an unfilled table ? >> I am trying

Re: [Pytables-users] Follow-up on nested structures

2006-08-21 Thread Jan Strube
Oh, and yet another question: In my structure, I have scalar and vectorial quantities. How can I determine which is which on an unfilled table ? I am trying row.getTable().col(column_name).ndim, but that seems only to work on filled tables. In my case it simply returns 1 for all columns. Is there

Re: [Pytables-users] Follow-up on nested structures

2006-08-21 Thread Jan Strube
1.6.5 I hope you can clarify this. Thanks, Jan Francesc Altet wrote: Hello Jan, A Divendres 11 Agost 2006 04:22, Jan Strube va escriure: I would like to follow up on the message that was posted last month here http://sourceforge.net/mailarchive/forum.php?thread_id=19437345&forum_id

[Pytables-users] Follow-up on nested structures

2006-08-10 Thread Jan Strube
Hello ! I would like to follow up on the message that was posted last month here http://sourceforge.net/mailarchive/forum.php?thread_id=19437345&forum_id=13760 My problem is a bit differently from the one presented there: I have data in the following structure, representing a reconstructed parti