From ad2af0b512bf88673f506b9a8d71ed95f5ea3040 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Thu, 16 Jun 2016 11:26:54 +0200 Subject: [PATCH] Some comments updated --- src/obi_align.c | 2 +- src/obidmscolumn_qual.c | 1 + src/obiview.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/obi_align.c b/src/obi_align.c index 2103529..4bdc214 100644 --- a/src/obi_align.c +++ b/src/obi_align.c @@ -25,7 +25,7 @@ // TODO -// use openMP pragmas : garder scores en memoire et ecrire a la fin? +// use openMP pragmas : garder scores en memoire et ecrire a la fin? (normalement c bon avec index) // tout ecrire en stdint? // check NUC_SEQS and score type (int or float if normalize) // what's with multiple sequence/line columns? diff --git a/src/obidmscolumn_qual.c b/src/obidmscolumn_qual.c index 876061a..15b2039 100644 --- a/src/obidmscolumn_qual.c +++ b/src/obidmscolumn_qual.c @@ -33,6 +33,7 @@ int obi_column_set_obiqual_char_with_elt_idx(OBIDMS_column_p column, index_t lin int i; int ret_value; + // Check NA value if (value == OBIQual_char_NA) { ret_value = obi_column_set_obiqual_int_with_elt_idx(column, line_nb, element_idx, OBIQual_int_NA, 0); diff --git a/src/obiview.c b/src/obiview.c index 0eaf023..1b4cf31 100644 --- a/src/obiview.c +++ b/src/obiview.c @@ -299,7 +299,7 @@ int update_lines(Obiview_p view, index_t line_count) // Enlarge the column if (obi_enlarge_column((view->columns)[i]) < 0) return -1; - (((view->columns)[i])->header)->lines_used = line_count; // TODO Discuss, this means that columns are not truncated below the number of lines in the view. Maybe they should be to save place. + (((view->columns)[i])->header)->lines_used = line_count; } }