Skip to content

Commit b288e30

Browse files
committed
Temporal -15% if everything 0
1 parent d63b77a commit b288e30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/gbif/gbif_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,8 @@ def safe_date(date):
606606
)
607607
)
608608
percentaje_incorrect_dates = sum(~dates.correct) / total_data * 100
609+
if percentaje_years == 0 and percentaje_years == 0 and percentaje_days ==0:
610+
percentaje_incorrect_dates = 100
609611
except Exception as e:
610612
logger.debug(f"ERROR incorrect dates - {e}")
611613
percentaje_incorrect_dates = 0

0 commit comments

Comments
 (0)