31053591b5
Fixed 2 bugs when checking qualities matching sequences predicate: now
...
closing and reopening indexers so that they are mapped properly, and
fixed memory leak when reading sequences
2018-11-19 11:05:53 +01:00
8a8e9e50b2
Fixed declaration going with previous commit
2018-10-31 18:01:04 +01:00
1b7bccb236
Small improvement when checking if a view exists
2018-10-31 17:51:10 +01:00
320561a582
Views: Added argument to not automatically create default columns in
...
typed views, a function to delete a view and fixed view history bug
2018-10-31 14:38:05 +01:00
e18b762d81
Weird buggy Eclipse commit with nothing changed
2018-10-21 17:35:18 +02:00
0a0f0682a9
Better handling of errors and exceptions when new view name already
...
exists
2018-10-17 19:47:40 +02:00
8ce6dd6d1a
Updated prototypes with no arguments with a void argument as suggested
...
by compilation warnings
2018-10-17 12:00:40 +02:00
86bb582a17
Views: implemented handling of JSON formatted comments
2018-10-07 18:56:46 +02:00
3fcf29a76f
More explicit predicate error when checking that sequences and qualities
...
match
2018-08-08 19:51:05 +02:00
4aef20add8
Fixed a bug where the line selection column of a view would not be
...
flagged as finished
2018-05-17 15:17:19 +02:00
4c3478d8f8
Removed the predicate to check for a quality column (because for example
...
with obi annotate, clone view so clone predicate, then modify seq, so
quality is deleted, and predicate becomes a problem)
2018-03-21 16:37:19 +01:00
b48330a5c9
Fixed a little bug when cleaning unfinished views
2018-02-12 14:44:56 +01:00
1fd3323372
Columns: elements names informations are now kept in a memory arena of
...
adapted size in the header, and added a boolean in the header indicating
whether the values should be evaluated (typically character strings to
be evaluated in Python)
2017-12-13 22:46:50 +01:00
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