Removed deprecated function

This commit is contained in:
Celine Mercier
2016-09-21 17:09:59 +02:00
parent dd55aef3e5
commit 802bae110b
2 changed files with 0 additions and 37 deletions

View File

@ -557,24 +557,6 @@ int obi_close_dms(OBIDMS_p dms)
} }
int obi_dms_is_column_name_in_list(OBIDMS_p dms, const char* column_name)
{
int i;
Opened_columns_list_p columns_list;
columns_list = dms->opened_columns;
for (i=0; i < (columns_list->nb_opened_columns); i++)
{
if (!strcmp(((*((columns_list->columns)+i))->header)->name, column_name))
{ // Found it
return 1;
}
}
return 0;
}
OBIDMS_column_p obi_dms_get_column_from_list(OBIDMS_p dms, const char* column_name, obiversion_t version) OBIDMS_column_p obi_dms_get_column_from_list(OBIDMS_p dms, const char* column_name, obiversion_t version)
{ {
int i; int i;

View File

@ -205,25 +205,6 @@ OBIDMS_p obi_dms(const char* dms_path);
int obi_close_dms(OBIDMS_p dms); int obi_close_dms(OBIDMS_p dms);
/**
* @brief Checks if a column with a given name is in the list of opened columns.
*
* @warning: Checking only the name means that the column can be of any version.
*
* @param dms The OBIDMS.
* @param column_name The column name that should be looked for.
*
* @returns An integer value indicating whether there is at least one column with that name
* in the list of opened columns.
* @retval 0 if there is at least one column with that name in the list of opened columns.
* @retval 1 if there is no column with that name in the list of opened columns.
*
* @since April 2016
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
int obi_dms_is_column_name_in_list(OBIDMS_p dms, const char* column_name);
/** /**
* @brief Returns a column identified by its name and its version number from the list of opened columns. * @brief Returns a column identified by its name and its version number from the list of opened columns.
* *