When a view is cloned, a comment is added to the new view specifying the

name of the cloned view
This commit is contained in:
Celine Mercier
2016-11-23 11:29:21 +01:00
parent 76a4c6b14e
commit 6fa9a8bd76

View File

@ -1782,7 +1782,7 @@ int obi_taxonomy_add_local_taxon(OBIDMS_taxonomy_p tax, const char* name, const
((tax->taxa)->local_count)++; ((tax->taxa)->local_count)++;
(tax->taxa)->buffer_size = (tax->taxa)->count; (tax->taxa)->buffer_size = (tax->taxa)->count;
// Add new name in names structure // Add new name in names structure // TODO discuss because in OBITools1 the new names were not written in .ndx
// Allocate memory for new name // Allocate memory for new name
tax->names = (econameidx_t*) realloc(tax->names, sizeof(econameidx_t) + sizeof(econame_t) * ((tax->names)->count + 1)); tax->names = (econameidx_t*) realloc(tax->names, sizeof(econameidx_t) + sizeof(econame_t) * ((tax->names)->count + 1));
if (tax->names == NULL) if (tax->names == NULL)