Commit 4b038426 authored by David Mendez's avatar David Mendez
Browse files

Separator Identifier: connect service with module

parent 5f89da6c
"""
Module with the utils services
"""
from app.chembl_utils.auto_separator import separator_identifier
class UtilsError(Exception):
......@@ -16,6 +17,8 @@ def identify_separator(type_of_ids, text):
:param text: text to process
:return: a dict with the separator identified
"""
separator = separator_identifier.get_separator(text, type_of_ids)
return {
'separator': 'hola'
'separator': separator
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment