From c811d0662a84a608fa0aeac32b70333877cc0e3a Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Wed, 25 May 2022 21:52:45 -0700 Subject: [PATCH] Use CONFIDENCE dict --- vr_address_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vr_address_tools.py b/vr_address_tools.py index a334009..3e1f28e 100755 --- a/vr_address_tools.py +++ b/vr_address_tools.py @@ -687,7 +687,7 @@ def write_csv( and int(id_vr_status.get(elem[0]).get("status", 0)) >= min_confidence ) - or (min_confidence == 0 and elem[0] not in id_vr_status), + or (min_confidence == CONFIDENCE["UNKNOWN"] and elem[0] not in id_vr_status), id_vr.items(), ) )