SCRIdb.sql.get_sampleIndex

SCRIdb.sql.get_sampleIndex(x)

If sample_index id record not found, records new sample_index value in the database, and returns its id.

Parameters

x (str) – Sample index to be searched for in the data base.

Return type

Union[int, str]

Returns

id value from the data base