Hello,

I have several lists that have string names with genes, the genes can
range between 4 and 6 characters and the lists can range, in size,
between 20 to 3000. For this reason I thought the simplest way was to
store the array using VLArray objects. My code this is very simple and
looks like this:

       dbfile.createGroup('/','Misc','Additional Data')
       Vlarray =
dbfile.createVLArray('/Misc','Dupes',StringAtom(flavor='numpy',length=6),
                                      'Genes whose entries are duplicated')
       Vlarray.append(array(dupes))

       Vlarray =
dbfile.createVLArray('/Misc','Processed',StringAtom(flavor='numpy',length=6),
                                      'Gene entries considered to be valid')
       Vlarray.append(array(processed))

       Vlarray =
dbfile.createVLArray('/Misc','Missing',StringAtom(flavor='numpy',length=6),
                                      'Genes whose information was incomplete')
       Vlarray.append(array(missing))

After revieweing the outcome of this process I've noticed that
elements in the array display the original text and then some garbled
text. I am thinking that it might because I am assigning elements of
size 4 when I've specified length=6 in the StringAtom object, but
since I am new about PyTables I am not sure how to overcome this
problem.

I would appreciate any insight in solving my problem.

BTW, I am using Python 2.4.3, PyTables 1.3 and MacOS X 10.4.6.

Thanks,
Pepe


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to