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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user