From 14887803a184b91d6e11decf868f2d6d814ac3ae Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Mon, 27 Nov 2023 16:56:58 +0100 Subject: [PATCH] don't filter staff data --- compendium_v2/publishers/survey_publisher_legacy_excel.py | 1 - 1 file changed, 1 deletion(-) diff --git a/compendium_v2/publishers/survey_publisher_legacy_excel.py b/compendium_v2/publishers/survey_publisher_legacy_excel.py index 1f40b450..c3f4448d 100644 --- a/compendium_v2/publishers/survey_publisher_legacy_excel.py +++ b/compendium_v2/publishers/survey_publisher_legacy_excel.py @@ -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: logger.warning(f'{nren_staff_model.nren.name} in {nren_staff_model.year}:' f' FTE do not equal across employed/technical categories ({employed} != {technical})') - continue db.session.merge(nren_staff_model) -- GitLab