Merge branch 'Eric_new_Python_API' of
git@git.metabarcoding.org:obitools/obitools3.git into Eric_new_Python_API Conflicts: python/obitools3/obidms/_obidms.pxd python/obitools3/obidms/_obidms.pyx python/obitools3/obidms/_obidmscolumn_bool.pyx python/obitools3/obidms/_obidmscolumn_str.pyx python/obitools3/obidms/_obiseq.pxd python/obitools3/obidms/_obiseq.pyx python/obitools3/obidms/_obitaxo.pxd python/obitools3/obidms/_obitaxo.pyx python/obitools3/obidms/_obiview.pxd python/obitools3/obidms/_obiview.pyx python/obitools3/obidms/_obiview_nuc_seq.pxd python/obitools3/obidms/_obiview_nuc_seq.pyx python/obitools3/obidms/_obiview_nuc_seq_qual.pxd python/obitools3/obidms/_obiview_nuc_seq_qual.pyx python/obitools3/obidms/capi/obialign.pxd python/obitools3/obidms/capi/obidmscolumn.pxd python/obitools3/obidms/capi/obitaxonomy.pxd python/obitools3/obidms/capi/obiview.pxd
This commit is contained in:
@ -865,7 +865,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms,
|
||||
obidebug(1, "\nCan't create column because of empty column name");
|
||||
return NULL;
|
||||
}
|
||||
if ((data_type < 1) || (data_type > 8)) // TODO check in more robust way
|
||||
if ((data_type < 1) || (data_type > 8)) // TODO check in more robust way and use macro define somewhere
|
||||
{
|
||||
obi_set_errno(OBICOL_UNKNOWN_ERROR);
|
||||
obidebug(1, "\nCan't create column because of invalid data type");
|
||||
@ -891,7 +891,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms,
|
||||
// Build the indexer name if needed
|
||||
if ((data_type == OBI_STR) || (data_type == OBI_SEQ) || (data_type == OBI_QUAL))
|
||||
{
|
||||
if ((indexer_name == NULL) || (strcmp(indexer_name, "") == 0))
|
||||
if ((indexer_name == NULL) || (*indexer_name == 0))
|
||||
{
|
||||
final_indexer_name = obi_build_indexer_name(column_name, version_number);
|
||||
if (final_indexer_name == NULL)
|
||||
|
Reference in New Issue
Block a user