Removing trace

This commit is contained in:
Celine Mercier
2019-03-30 20:52:54 +01:00
parent 601a2cfd7d
commit f0ff585455

View File

@ -102,6 +102,7 @@ int build_reference_db(const char* dms_name,
obidebug(1, "\nError allocating memory for the name of the matrix view when building a reference database");
return -1;
}
// TODO check and create view name that doesn't already exist
matrix_view_name = strcpy(matrix_view_name, o_view_name);
strcat(matrix_view_name, "_matrix");
@ -248,10 +249,6 @@ int build_reference_db(const char* dms_name,
return -1;
}
taxid_lca = lca->taxid;
if (taxid_lca == 2558200)
{
fprintf(stderr, "\ntaxid1 %d, taxid2 %d\n", taxid1, taxid2);
}
if (obi_set_int_with_elt_idx_and_col_p_in_view(matrix_with_lca_view, matrix_lca_taxid_column, i, 0, taxid_lca) < 0)
{
obidebug(1, "\nError writing the last common ancestor of two taxa when building a reference database");