Skip to content
Snippets Groups Projects
Commit d2ccc04a authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'table-error' into tmp

parents d5f4e612 0c04ec6d
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ###
- The suppression module is now a logging filter
- The suppression module is now a logging filter.
- The WebUIHandler is now a python logging formatter.
- instead of `get_entity`, type-specific functions are used in
`cfood.py` when the type of the entity in question is known.
......
......
......@@ -102,6 +102,8 @@ class XLS_Importer(object):
converts an xls file into a Pandas DataFrame.
The converters of the XLS_Importer object are used.
Raises: DataInconsistencyError
"""
try:
xls_file = pd.io.excel.ExcelFile(filename)
......@@ -139,6 +141,8 @@ class XLS_Importer(object):
"""
checks whether all required columns, i.e. columns for which converters
were defined exist.
Raises: DataInconsistencyError
"""
for col in self.required_columns:
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment