545ed8111aCode for tests storing data in multiple AVLs. (note: unretrievable data as implemented)
multiple_avls
Celine Mercier
2016-03-11 15:34:55 +01:00
c139367555DNA sequences and character strings are now handled using AVL trees.
Celine Mercier
2015-12-11 17:24:44 +01:00
1586956d57Added the lists of opened columns and arrays in the OBIDMS structure, and a counter in the OBIDMS column structure; fixed some bugs and created tests for referring columns that are bound to disappear anyway.
Celine Mercier
2015-12-02 17:32:07 +01:00
b45b496b0eMajor update: new type of columns containing indices referring to lines in other columns
Celine Mercier
2015-11-29 11:57:07 +01:00
2cf10cb6f0Column type is now passed as a character string when creating the column (either 'OBI_INT', 'OBI_FLOAT', 'OBI_BOOL', 'OBI_CHAR', 'OBI_STR' or 'OBI_SEQ')
Celine Mercier
2015-11-23 15:48:27 +01:00
d6a99bafeaFixed a major bug with the versioning of columns that was introduced in f6ec8ba9
Celine Mercier
2015-11-23 13:34:51 +01:00
08f2657e18Increased maximum line count of columns to 1^9
Celine Mercier
2015-11-23 13:23:18 +01:00
6aa2f92930DNA sequences are now encoded on 4 bits when they are in IUPAC
Celine Mercier
2015-11-20 15:32:09 +01:00
87044b41d8modified the encoding function on 2 bits a little
Celine Mercier
2015-11-20 11:32:47 +01:00
6ab1c83302New column type for DNA sequences. Only for those coded on 2 bits (only 'ATGCatgc') for now.
Celine Mercier
2015-11-19 18:12:48 +01:00
e371248567changed version to 0.0.0
Celine Mercier
2015-11-19 18:11:21 +01:00
dbf9463238The endianness of a DMS is now stored in the OBIDMS structure
Celine Mercier
2015-11-18 15:35:09 +01:00
eb12af4da4Fixed minor error in the documentation of a function.
Celine Mercier
2015-11-16 15:38:01 +01:00
e8417b4f6fThe endianness of an OBIDMS is now stored in an informations file that is read when opening the OBIDMS.
Celine Mercier
2015-11-16 14:37:51 +01:00
6579566c6eMinor changes in code to improve readability and fix C compilation warnings
Celine Mercier
2015-11-10 14:37:58 +01:00
410e2e02a0When retrieving the header of a column, the version number of the column wanted can now be provided.
Celine Mercier
2015-11-10 13:30:10 +01:00
8ce4f264aaWhen enlarging a column, the function doesn't try anymore to keep the mapped region at the same pointer (never works), and unmap/remap instead.
Celine Mercier
2015-11-10 13:18:36 +01:00
d885eb48ffThe header size when creating a column is now calculated according to the size of the header structure and the page size of the platform.
Celine Mercier
2015-11-10 13:09:30 +01:00
661fe3606aIn OBI_CHAR columns, characters are now given and retrieved as decoded (unicode) characters.
Celine Mercier
2015-11-10 11:24:08 +01:00
c4b7e579cfComments in column headers are now working.
Celine Mercier
2015-11-10 10:56:45 +01:00
f6ec8ba963The header size is now directly read in the file when a column or an array is opened.
Celine Mercier
2015-11-09 17:50:32 +01:00
0e3d6ed2d7Methods __len__ (number of lines used) and __sizeof__ (total size in bytes) implemented for columns.
Celine Mercier
2015-11-09 15:56:20 +01:00
01bfc14503The data size in bytes is now stored in the header of a column.
Celine Mercier
2015-11-09 15:55:00 +01:00
65c1b1e8b2Minor changes to make the creation of files and directories cleaner
Celine Mercier
2015-11-09 15:22:01 +01:00
b37bd8f21cFile descriptors for dms, column and array directories are now stored in structures.
Celine Mercier
2015-11-09 15:06:02 +01:00
05e3956a0cMinor changes in code to improve readability (freeing some character strings earlier)
Celine Mercier
2015-11-09 11:22:51 +01:00
9b066f4327Major update: obiarrays with columns containing indices referring to character strings.
cython_bug
Celine Mercier
2015-11-06 17:55:15 +01:00
456551ffebobi arrays that don't work because of cython bug passing wrong pointers
Celine Mercier
2015-11-03 14:22:00 +01:00
ecb9d97adbReorganized the code to have less functions, and the functions to get and format the creation date of a column are now working.
Celine Mercier
2015-10-15 15:12:45 +02:00
0eaa5aa784Major changes : new cython subclasses to handle columns with multiple elements per line in a more efficient way + now elements_names are passed as a list + new function to recover only the header of a column
Celine Mercier
2015-10-14 18:05:34 +02:00
21923e213dThe unit tests now test for None values
Celine Mercier
2015-10-12 18:02:40 +02:00
6877fc4892Fixed a critical bug where values were initialized to NA at the wrong location when there was multiple elements per line
Celine Mercier
2015-10-12 17:54:36 +02:00
dbed3d9d1dNew module for unit testing with PyUnit
Celine Mercier
2015-10-09 15:42:57 +02:00
fc8bf16769Fixed a critical bug in the computation of the new number of lines of a column when truncating
Celine Mercier
2015-10-09 13:49:48 +02:00
e114a3c9cbfixed a critical bug where data size was not calculated correctly and column directory is now closed when column is closed
Celine Mercier
2015-10-09 10:25:40 +02:00
ebc9f6f512fixed a bug where Cython was casting doubles in floats
Celine Mercier
2015-10-08 15:28:30 +02:00
b553eef781Method to close a DMS is uncommented but not complete yet (columns have to be closed separately)
Celine Mercier
2015-10-08 10:44:13 +02:00
ee4c513fd4Fixed a bug where cloning a column would fail if the data was empty
Celine Mercier
2015-10-08 10:36:02 +02:00
c013e6ad33fixed typo in doxygen doc
Celine Mercier
2015-10-08 10:33:19 +02:00
c98d567e2fUpdated the documentation and restructured a bit because it wasn't compiling (note: Breathe not working)
Celine Mercier
2015-10-06 11:09:01 +02:00
392f110c8dnew functions in the OBIDMS_column class to raise NotImplementedError exceptions and to get the creation date of a column
Celine Mercier
2015-10-02 13:51:26 +02:00
6ced3c4896new functions to get the creation date of a column
Celine Mercier
2015-10-02 13:47:53 +02:00
4b8bf41a71closes#13, obi_errno is initialized to 0
Celine Mercier
2015-10-02 13:46:34 +02:00
c59a244e9dFixed little typo
Celine Mercier
2015-09-30 12:07:13 +02:00
4b7f2d268bDoxygen documentation corrected and completed.
Celine Mercier
2015-09-30 12:03:46 +02:00
45af8396b8minor change in variable name for better coherence
cython_things
Celine Mercier
2015-09-28 13:52:41 +02:00
68b6ab3224working on the cython wrapper. This doesn't compile
Celine Mercier
2015-09-24 11:32:09 +02:00
b0570ee486fixed permissions when creating files
Celine Mercier
2015-09-22 15:52:07 +02:00
72105b2aedfixed the computation of the data size when cloning a column
Celine Mercier
2015-09-22 10:27:17 +02:00
9ab8a42340fixed the mkdir permission mode that forced the user to use sudo to write in the created directories
Celine Mercier
2015-09-21 15:48:02 +02:00
7b606c0477Column files now always have a size that is a multiple of the page size, and the function that enlarges mapped column files tries mapping on next byte before unmapping/mapping again
Celine Mercier
2015-09-21 15:42:29 +02:00
7d7dbb1bf9Handling of single char columns
Celine Mercier
2015-09-18 15:49:15 +02:00
34a3717fb9The cython function to open a column is now a method of the OBIDMS class
Celine Mercier
2015-09-17 11:23:50 +02:00