Skip to content
Snippets Groups Projects
Commit 14887803 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

don't filter staff data

parent 2b86267c
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,6 @@ def db_staffing_migration(nren_dict): ...@@ -182,7 +182,6 @@ def db_staffing_migration(nren_dict):
if not math.isclose(employed, technical, abs_tol=0.01) and employed != 0 and technical != 0: if not math.isclose(employed, technical, abs_tol=0.01) and employed != 0 and technical != 0:
logger.warning(f'{nren_staff_model.nren.name} in {nren_staff_model.year}:' logger.warning(f'{nren_staff_model.nren.name} in {nren_staff_model.year}:'
f' FTE do not equal across employed/technical categories ({employed} != {technical})') f' FTE do not equal across employed/technical categories ({employed} != {technical})')
continue
db.session.merge(nren_staff_model) db.session.merge(nren_staff_model)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment