Skip to content

Commit

Permalink
Update project version to 0.13.1, add "abc" field in product.c, and a…
Browse files Browse the repository at this point in the history
…djust test checksums
  • Loading branch information
horta committed Oct 31, 2023
1 parent 2fee464 commit fc7a833
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion c-core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.20.2 FATAL_ERROR)
project(deciphon VERSION 0.13.0 LANGUAGES C)
project(deciphon VERSION 0.13.1 LANGUAGES C)

include(cmake/warnings.cmake)
include(cmake/sanitizers.cmake)
Expand Down
1 change: 1 addition & 0 deletions c-core/product.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int product_close(struct product *x)
ok &= fputs("window_start\t", fp) >= 0;
ok &= fputs("window_stop\t", fp) >= 0;
ok &= fputs("profile\t", fp) >= 0;
ok &= fputs("abc\t", fp) >= 0;
ok &= fputs("lrt\t", fp) >= 0;
ok &= fputs("evalue\t", fp) >= 0;
ok &= fputs("match\n", fp) >= 0;
Expand Down
2 changes: 1 addition & 1 deletion c-core/test_massive.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int main(void)
}
eq(scan_run(scan, PRODDIR), 0);
eq(scan_progress(scan), 100);
eq(chksum(PRODDIR "/products.tsv"), 44039);
eq(chksum(PRODDIR "/products.tsv"), 27703);
eq(scan_close(scan), 0);

scan_del(scan);
Expand Down
4 changes: 2 additions & 2 deletions c-core/test_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ static struct params params_list[] = {
{1, false, false}, {1, false, false}, {1, false, true}, {1, false, true},
{1, true, false}, {1, true, false}, {1, true, true}, {1, true, true}};
static bool dial_list[] = {true, false, true, false, true, false, true, false};
static long chksum_list[] = {23638, 23638, 18132, 18132, 699, 699, 699, 699};

static long chksum_list[] = {57990, 57990, 52229, 52229,
56555, 56555, 56555, 56555};
int main(void)
{
setup_database(1, 0.01, HMMFILE, DBFILE);
Expand Down
2 changes: 1 addition & 1 deletion c-core/test_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main(void)
eq(scan_add(scan, sequences[0].id, sequences[0].name, seq), 0);
eq(scan_run(scan, PRODDIR), 0);
eq(scan_progress(scan), 100);
eq(chksum(PRODDIR "/products.tsv"), 41833);
eq(chksum(PRODDIR "/products.tsv"), 38553);
eq(scan_close(scan), 0);

scan_del(scan);
Expand Down

0 comments on commit fc7a833

Please sign in to comment.