From 3210d1a3fa357e75da5464fed3a0ae4ffbfefc67 Mon Sep 17 00:00:00 2001 From: Thomas Bock <thomas.bock@ptb.de> Date: Wed, 10 Mar 2021 15:35:18 +0100 Subject: [PATCH] + ce3 dcc asignment --- cal/dcc-sections-assignment.json | 6 ++++-- cal/utils.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cal/dcc-sections-assignment.json b/cal/dcc-sections-assignment.json index 6105809..ba87b4c 100644 --- a/cal/dcc-sections-assignment.json +++ b/cal/dcc-sections-assignment.json @@ -1,11 +1,13 @@ { "device_description":"item", - "calibration_procedure-se3-cdg":"used_method", "error_and_cf":"used_method", "result_error":"used_method", "temperature_correction":"used_method", "uncertainty-cdg":"used_method", + "calibration_procedure-se3-cdg":"used_method", "calibration_procedure-se3-srg":"used_method", + "calibration_procedure-ce3-ig":"used_method", "sigma":"used_method", - "uncertainty-srg":"used_method" + "uncertainty-srg":"used_method", + "uncertainty-ig":"used_method" } diff --git a/cal/utils.py b/cal/utils.py index a23643f..b6b75c9 100644 --- a/cal/utils.py +++ b/cal/utils.py @@ -417,6 +417,7 @@ def dcc_used_methodes(cal_docs, secs): lang = get_lang(doc) used_method = [] for i, m in enumerate(secs): + if m.get("DccAssigment", "none") == "used_method": if not m.get("Heading"): continue -- GitLab