VyLala commited on
Commit
0179b52
·
verified ·
1 Parent(s): 0106cd3

Update confidence_score.py

Browse files
Files changed (1) hide show
  1. confidence_score.py +2 -2
confidence_score.py CHANGED
@@ -140,9 +140,9 @@ def compute_confidence_score_and_tier(
140
  gb_country = standardize_location.smart_country_lookup(signals.get("genbank_country").lower())
141
  if gb_country == "not found":
142
  gb_country = normalize_country(signals.get("genbank_country"))
143
-
144
  cons_cfg = rules["consistency"]
145
-
146
  if gb_country is not None and pred_country is not None:
147
  if gb_country == pred_country:
148
  score += cons_cfg["match"]
 
140
  gb_country = standardize_location.smart_country_lookup(signals.get("genbank_country").lower())
141
  if gb_country == "not found":
142
  gb_country = normalize_country(signals.get("genbank_country"))
143
+ print("both pred_country and gb_country after standardizing: ", pred_country, gb_country)
144
  cons_cfg = rules["consistency"]
145
+ print("start compare gb country and pre country")
146
  if gb_country is not None and pred_country is not None:
147
  if gb_country == pred_country:
148
  score += cons_cfg["match"]