ea73047fc7
Added rewinddir before each readdir so that the directories are always
...
read properly
2017-11-24 18:04:58 +01:00
3ba7ce1c91
View rollback: version files and column directories aren't deleted
...
anymore to prevent indexer bug, and fixed a freeing bug
2017-11-15 17:27:26 +01:00
9a50803c00
Added tuple columns containing immutable indexed data arrays of any type
2017-11-15 13:48:59 +01:00
1684f96b79
Fixed a bug when flagging a read-only column as finished
2017-10-26 19:11:29 +02:00
dfd51939a0
Views are now rollbacked if an error occurs, and unfinished views and
...
columns are deleted when an OBIDMS is opened.
2017-10-26 18:58:48 +02:00
7c57bd33e5
Added check to prevent views from having the name 'taxonomy' (used for
...
URIs)
2017-09-15 14:54:55 +02:00
a3e81930c2
Views: finished handling and documenting the conditions for an existing
...
column to be added to a view
2017-08-03 16:32:22 +02:00
15d383fa8b
Added possibility to specify the offset for encoding and decoding
...
sequence quality character strings
2017-07-27 19:24:41 +02:00
59dd0a8a8c
Standardized and improved the API to create new columns, updated the doc
2017-07-18 17:34:32 +02:00
c88df2e12c
First version of automatic ID and COUNT columns, to discuss (for now,
...
columns created when NUC_SEQ views are closed if the columns don't
already exist)
2017-07-17 17:31:09 +02:00
3e6aecc635
Added a C function to add a COUNT column to a view with all lines set to
...
1
2017-07-11 16:44:23 +02:00
f03928c679
Committing minor comments before merging branch with master
2017-07-06 10:56:39 +02:00
71b1a43df8
Added functions to clone views with a simpler API
2017-04-21 11:58:15 +02:00
2f0c4b90d7
Fixed a problem where a view would have a wrong line count after adding
...
a first column to it if there was already a Line selection associated
(happening when cloning), and fixed a bad error check.
2017-04-14 16:25:55 +02:00
ad8de80353
Views: better checks when adding an existing column to a view
2017-04-06 14:44:07 +02:00
778acc48cd
Added linked lists to handle lists of column pointers in views (not
...
tested)
2017-03-06 16:06:17 +01:00
3319ede837
Views: Column dictionaries now store and return pointers on column
...
pointers instead of column pointers.
2017-02-22 13:49:50 +01:00
e524041013
Views: Files for unfinished views now have the extension
...
'.obiview_unfinished', renamed to '.obiview' when the view is finished.
2017-02-07 17:16:09 +01:00
e50da64ea1
The elements names when a column contains several elements per line are
...
now formatted with '\0' as separator and handled in a more optimized way
2017-01-31 16:48:06 +01:00
936be64c34
Goes with 5e0c9f87
(missing ';' and fixed compilation warnings)
2016-12-05 11:18:29 +01:00
852e5488c8
The default element names for columns with multiple elements per line
...
are now "O;1;2;...;n"
2016-12-02 17:54:51 +01:00
4ad8c16a73
Finished adding all the functions to directly set and get indices in
...
columns containing indices referring to any type of data.
2016-11-30 11:08:11 +01:00
3e53f9418b
Added functions to recover the indexes themselves from any column
...
referring to indexed values
2016-11-28 11:35:19 +01:00
f897e87600
When closing a view, it is now automatically checked that all OBI_QUAL
...
columns correspond to their associated OBI_SEQ column
2016-11-25 12:04:57 +01:00
70e056a2aa
It is now impossible to open or clone a view that is not finished (= has
...
been closed at least once)
2016-11-24 11:19:07 +01:00
8abbfa203a
Good file for commit 6fa9a8bd
: When a view is cloned, a comment is added
...
to the new view specifying the name of the cloned view
2016-11-23 11:32:39 +01:00
0ab9e6c05a
When adding an existing column to a view, it is checked that the
...
column's line count is at least the view's line count. This can't be
more stringent for reasons that need to be rediscussed
2016-11-23 11:04:53 +01:00
621b4972db
Functions to get obiblobs through views
2016-11-18 15:59:50 +01:00
9cd57deca9
Added OBIView_line_selection class to make new line selections
...
associated with the view to clone, and improved and renamed method
closing a view
2016-09-30 17:48:53 +02:00
1a7b42018e
Added some error checking when opening or creating a view
2016-09-28 14:28:34 +02:00
b408a4f6eb
Changed file name limits to adapt to system limits + minor changes
2016-09-22 18:05:07 +02:00
b083745f56
Deleted the "new line selection while editing a view" system
2016-09-22 11:19:29 +02:00
e79507b629
Fixed bugs in the process ensuring that all the columns of a view have
...
the same line count, fixed a bug when trying to set a value in a view
when a line selection exists, fixed a bug when adding a new column to a
view where line counts would be wrong
2016-09-21 17:42:17 +02:00
a240ec0169
Added error checking when closing file descriptors
2016-09-15 11:58:56 +02:00
9a97f1f633
View predicates are now carried over when cloning a view
2016-09-06 16:22:24 +02:00
00014eb023
View files now have the *.obiview extension
2016-09-06 14:19:13 +02:00
668696fc5a
Fixed major bug: when setting all the columns of a view to the same
...
number of lines, columns are now cloned before being enlarged if needed
+ predicate functions now print error messages if the predicates are not
respected
2016-09-05 12:37:36 +02:00
7b780ffb28
View files now have a dynamic size to allow unlimited comments size
2016-08-18 17:57:03 +02:00
e4129610cf
Quality columns are now optional in NUC_SEQS views + minor fixes
2016-08-16 15:17:26 +02:00
92cad61417
Fixed bug when closing views with no associated predicate
2016-08-12 15:52:38 +02:00
5b7917bb5a
Fixed bug when writing predicates in view file
2016-08-11 17:30:09 +02:00
26b8e1f215
Modified C API to set and get in columns: added functions to set and get
...
using column names instead of pointers, and changed function names
2016-08-02 16:33:19 +02:00
312f50ff0f
Major update: Column aliases. Columns are now identified in the context
...
of a view by an alias that can be modified.
2016-08-01 18:25:30 +02:00
56e4848ebd
The predicates associated with a view are now described in its comments
...
field
2016-07-19 15:31:21 +02:00
38718320f9
First version for the association of one column to another. Closes #55
2016-07-15 15:38:49 +02:00
8ee85c3005
A first version of predicate functions that are checked when a new view
...
is saved and closed
2016-07-12 14:54:11 +02:00
0869b9ba3f
Closes issue #47 by storing each view in a separate file named with the
...
view's name and created upon view creation.
2016-06-30 11:41:30 +02:00
ad2af0b512
Some comments updated
2016-06-16 11:26:54 +02:00
2f57f80c63
Fixed a bug where an unmapped variable would be read
2016-06-03 18:55:58 +02:00
e681ca646d
Fixed a problem with some columns being shorter in views and triggering
...
errors when trying to get values. Temporary fix that needs discussion
2016-05-20 18:45:29 +02:00